Object-oriented programming (OOPs) Question:

Download Job Interview Questions and Answers PDF

Can we call a base class method without creating instance?

OOP Interview Question
OOP Interview Question

Answer:

Yep. But ..

► Its possible If its a static method.

► Its possible by inheriting from that class also.

► Its possible from derived classes using base keyword.

Download OOP Interview Questions And Answers PDF

Previous QuestionNext Question
In which cases you use override and new base?What is Abstract method?