In real time project when will we use Abstract class. and
what are the difference between abstract and interface.

Answer Posted / meena

in real time project we can use the abstract class so that
the subclasses can be extended so the functionality of the
project becomes easy as per the needs of the things required
in the project
in case of interfaces we can make use of the abstract
methods which means that we can make use of the other class
as interface (which means we can make use of the interface
class by adding the word implements) so that the methods of
the implemented class can be used in our project.
which in turn makes the work more easier.

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the steps in details to load the server object dynamically?

4547


Is jvm a overhead?

631


What is the map interface?

616


Why use POJO when I can use hashmap

2051


Are there books about seam?

636






What value does readline() return when it has reached the end of a file?

598


What is a class loader?

591


What is the difference between the session.update() method and the session.lock() method?

560


What is JTS?

1864


Name three subclasses of the component class?

619


Can I use javascript to submit a form?

617


difference between  ejb,struts,hibernate,spring and jsp

2307


What is difference between object state and behavior?

585


What is glasgow?

589


Is “abc” a primitive value?

619