Object-oriented programming (OOPs) Question: Download OOP PDF

Can we call a base class method without creating instance?

Tweet Share WhatsApp

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 PDF Read All 37 OOP Questions
Previous QuestionNext Question
In which cases you use override and new base?What is Abstract method?