What is a static method in OOPs?
A. A method that can be called without creating an instance of class
B. A method that is called automatically when an object is created
C. A method that can only be called from within the same class
D. A method that can be overridden by a subclass
Answer:A
What is a static method in OOPs?
A. A method that can be called without creating an instance of class B. A method that is called automatically when an object is created C. A method that can only be called from within the same class D. A method that can be overridden by a subclass