why we are declare the function in the abstract class even
though we are declaring it in Derived class?
Answer Posted / vishal
Abstract class is nothing but placeholder for other classes
ie subclass.It defines common shared behavior in abstract
classes and if we need to override we need to define in its
subclass else we can use shared behavior in base class.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is abstraction in oop with example?
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?
How do you define social class?
Explain the advantages of inheritance.
What is byval and byref? What are differences between them?
What is destructor oops?
What is the purpose of enum?
What is object in oop?
Why do we use class in oops?
• What are the desirable attributes for memory managment?
What is polymorphism and why is it important?
Where is pseudocode used?
What is pointer in oop?
What is polymorphism programming?
when to use 'mutable' keyword and when to use 'const cast' in c++