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
wahts is mean by dynavalidatorform in struts/
How would you detect a keypress in a jcombobox?
What is table mutation and how do you avoid it?
What is the relationship between the canvas class and the graphics class?
what are the advantages of JTA over JTS?
Can I use javascript to submit a form?
Why does the tag url-encode javascript and mailto links?
How are the elements of a borderlayout organized?
Can I map more than one table in a cmp?
Define the remote object implementation?
Is infobus easy to use?
Which container method is used to cause a container to be laid out and redisplayed?
How would you create a button with rounded edges?
Is the infobus client side only?
What is re-entrant. Is session beans reentrant. Is entity beans reentrant?