why we are declare the function in the abstract class even
though we are declaring it in Derived class?



why we are declare the function in the abstract class even though we are declaring it in Derived cl..

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

Post New Answer

More OOPS Interview Questions

what is graphics

0 Answers  


What do you mean by binding of data and functions?

3 Answers  


What does and I oop mean in text?

0 Answers  


What is encapsulation selenium?

0 Answers  


how to swap to variables without using thrid variable in java?

5 Answers  






How is exception handling carried out in c++?

3 Answers  


What do you mean by multiple inheritance and multilevel inheritance? Differentiate between them.

2 Answers  


How to calculate the age from the date of birth by using the program?

2 Answers   Accenture,


How to improve object oriented design skills?

0 Answers  


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

7 Answers   TCS,


what are abstract classes and how they impliment , with example

2 Answers  


Categories