Can we call a base class method without creating instance?
Answer Posted / amit sharma
U've to derieve the class first and then when u instanciate
the derieved class. Then :-
U can call it using derieved class object or in a derieved
class member function depending upon base class fun's acess
specifer and inheritence specifier.
Is This Answer Correct ? | 11 Yes | 1 No |
Post New Answer View All Answers
What is a function in oop?
What is the real life example of polymorphism?
Advantage and disadvantage of routing in telecom sector
write a programe to calculate the simple intrest and compund intrest using by function overlading
What is polymorphism and example?
What is purpose of inheritance?
Is oop better than procedural?
What is encapsulation in ict?
What does and I oop mean?
Plese get me a perfect C++ program for railway/airway reservation with all details.
write a code for this:trailer recordId contains a value other than 99, then the file must error with the reason ‘Invalid RECORD_ID’(User Defined Exception).
What is the example of polymorphism?
What is polymorphism explain its types?
Which language is pure oop?
What are main features of oop?