The static keyword, on the other hand, is used to declare members (variables or methods) that belong to the class rather than any particular object instance, allowing them to be accessed without creating an object of the class.
Loading...
Selvam College of Technology (Autonomous)
The static keyword, on the other hand, is used to declare members (variables or methods) that belong to the class rather than any particular object instance, allowing them to be accessed without creating an object of the class.