
JAVA OOP
Java OOP – Static variables and methods
All the static members are created in the template and we can access them without an object. Non-static variables and methods cannot access without an object. Static members are common for all the instances(objects) of the class but non-static members are separate for each instance of class. Today we are going to talk about static […]
August 8, 2020