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 encapsulation and abstraction? How are they implemented in C++?
What is abstraction in oop with example?
What is the important feature of inheritance?
What is the main feature of oop?
what are the ways in which a constructors can be called?
if i have same function with same number of argument but defined in different files. Now i am adding these two files in a third file and calling this function . which will get called and wht decide the precedence?
What is inheritance write a program to show use of inheritance?
How does polymorphism work?
Which is not an object oriented programming language?
Prepare me a program for the animation of train
Why polymorphism is used in oops?
What is solid in oops?
• What are the desirable attributes for memory managment?
to find out the minimum of two integer number of two different classes using friend function
What is polymorphism in oop example?