what is abstract class ?
when is used in real time ?
give a exp
Answer Posted / pradeep
An Abstract Class is one in which the member function(s) at
the Base(Parent) Class are left undefined, but declared.
It's upto the Derived(child(ren)) Classes to Implement the
Functions declared in Base...
The most real time example of abstract class and interface
is bulding a house
1)concrete methods are explained with completed house.
2)abstract classes are explained with completed house but a
little bit of work left
3)interfaces are explained with taking a building plan
| Is This Answer Correct ? | 7 Yes | 7 No |
Post New Answer View All Answers
Can we override main method?
What is polymorphism and its types?
What is and I oop mean?
Give two or more real cenario of virtual function and vertual object
Why oops is important?
What is property in oops?
Which method cannot be overridden?
What is new keyword in oops?
What is polymorphism oop?
String = "C++ is an object oriented programming language.An imp feature of oops is classes and objects".Write a pgm to count the repeated words from this scenario?
What are the three parts of a simple empty class?
any one please tell me the purpose of operator overloading
Can enum be null?
What are oops functions?
What do you mean by Encapsulation?