Pragya kumari Swarnakarqapragya.hashnode.dev·Apr 30, 2024Static & Non-Static keywords.Let's say we have one class named Cat. The Cat class is having two non-static attributes & one non-static method. So to access or call the non-static methods & attributes we have to create the instance of class Cat. Now I'm creating a private s...Discussnon-static
Pratik Upretiblog.pratikupreti.tech·Jan 10, 2024Mastering the static Keyword in Java: A Beginner's Guide to Expert UnderstandingIntroduction Welcome to the world of Java programming! If you've been curious about what the static keyword does in Java, you're in the right place. This guide is tailored for beginners but packed with enough detail to elevate your understanding to a...Discusswhen to use static keyword in java