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
Will the general public have access to the infobus apis?
What are the benefits of detached objects?
what is the use of State Factories?
Explain what is synchronization?
Can I run seam outside of jboss as?
What is aop(assepct oriented programing)?
How to deploy Jar, War files in J2EE?
what is Activation Instantinator?
Explain the different types of memory used by jvm?
What you mean by COM and DCOM?
What is prototype?
How is a java object message delivered to a non-java client?
What is the difference between RMI and Corba?
When is the best time to validate input?
What are the different class loaders used by jvm?