Static keyword in java

Let’s learn static keyword in java. Static keyword in java A member declared with keyword static belongs to class rather than instance of a class. static keyword can be used with class level variables, code block, methods and inner class. static keyword is a non-access modifier. Static class in java To declare a class as…

Read More Static keyword in java