why we are declare the function in the abstract class even
though we are declaring it in Derived class?
Answer / 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 |
what is graphics
What do you mean by binding of data and functions?
What does and I oop mean in text?
What is encapsulation selenium?
how to swap to variables without using thrid variable in java?
How is exception handling carried out in c++?
What do you mean by multiple inheritance and multilevel inheritance? Differentiate between them.
How to calculate the age from the date of birth by using the program?
How to improve object oriented design skills?
create a class complex having real and imaginary part of a complex no. as a data member. overload the binary operators(+,- and *) to perform the operations on complex no. objects. overload binary operator using friend function.
2 Answers CTS, Delhi University,
why oops need in programming
what are abstract classes and how they impliment , with example