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
Explain the steps in details to load the server object dynamically?
Is jvm a overhead?
What is the map interface?
Why use POJO when I can use hashmap
Are there books about seam?
What value does readline() return when it has reached the end of a file?
What is a class loader?
What is the difference between the session.update() method and the session.lock() method?
What is JTS?
Name three subclasses of the component class?
Can I use javascript to submit a form?
difference between ejb,struts,hibernate,spring and jsp
What is difference between object state and behavior?
What is glasgow?
Is “abc” a primitive value?