Which keyword allows class members (methods and properties) to be used without needing to instantiate a new instance of the class?
Which keyword allows class members (methods and properties) to be used without needing to instantiate a new instance of the class? Correct Answer static
Sometimes it is very handy to access the methods and properties in terms of a class rather than an object. But this can be done through static keyword. Any method declared as ‘static’ can be accessed without the creation of an object.