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


Please Help Members By Posting Answers For Below Questions

explain sub-type and sub class? atleast u have differ it into 4 points?

1838


What is protected in oop?

604


What is the point of oop?

656


What are the benefits of interface?

583


Why do we use encapsulation in oops?

524






Whats oop mean?

598


Why is it so that we can have virtual constructors but we cannot have virtual destructors?

3847


Are polymorphisms mutations?

703


What is encapsulation with real life example?

572


What are oops functions?

585


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(); }

1991


What is advantage of inheritance?

692


Write a program to reverse a string using recursive function?

1794


Can destructor be overloaded?

601


What is interface? When and where is it used?

1664