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

wahts is mean by dynavalidatorform in struts/

1794


How would you detect a keypress in a jcombobox?

881


What is table mutation and how do you avoid it?

2144


What is the relationship between the canvas class and the graphics class?

767


what are the advantages of JTA over JTS?

1911


Can I use javascript to submit a form?

879


Why does the tag url-encode javascript and mailto links?

793


How are the elements of a borderlayout organized?

844


Can I map more than one table in a cmp?

797


Define the remote object implementation?

2196


Is infobus easy to use?

800


Which container method is used to cause a container to be laid out and redisplayed?

890


How would you create a button with rounded edges?

758


Is the infobus client side only?

859


What is re-entrant. Is session beans reentrant. Is entity beans reentrant?

818