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?
What is in-memory replication?
A user of a web application sees a jsessionid argument in the URL whenever a resource is accessed. What does this mean? a. The form must have the field jsessionid b. URL rewriting is used as the session method c. Cookies are used for managing sessions
How are commas used in the intialization and iteration parts of a for statement?
What are the different approaches to represent an inheritance hierarchy?
Define the remote object implementation?
How to implement dphibernate to activate lazy loading in Flex with java ?thanx in advance!
Name the eight primitive java types.
To identify IDL language what mapping mechanism is used?
What is message driven beam?
What is the difference between RMI registry and OS Agent?
what is Activation Instantinator?
What is JTS?
What is the purpose of the wait(), notify(), and notifyall() methods?
How will you pass parameters in RMI? Why do you serialize?