what is abstract class ?
when is used in real time ?
give a exp
Answer Posted / m arunachalam
Abstract Class is to hide the internal details of data....
And real time examples are car. Because if u can start the
car, but how to be start didn't know.. where as here
function of start should be hide to the user.......
Is This Answer Correct ? | 5 Yes | 4 No |
Post New Answer View All Answers
explain sub-type and sub class? atleast u have differ it into 4 points?
What is protected in oop?
What is the point of oop?
What are the benefits of interface?
Why do we use encapsulation in oops?
Whats oop mean?
Why is it so that we can have virtual constructors but we cannot have virtual destructors?
Are polymorphisms mutations?
What is encapsulation with real life example?
What are oops functions?
What is Difference Between Inheritance and creating object and getting data? means Class A extends B{ B.getMethod();} (OR) Class A{ b obj=new B(); obj.getMethod(); }
What is advantage of inheritance?
Write a program to reverse a string using recursive function?
Can destructor be overloaded?
What is interface? When and where is it used?