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
In inglish: How to convert jar to exe files? Em português: Como converter arquivos .jar para .exe?
Is the ternary operator written x : y ? Z or x ? Y : z ?
What is in-memory replication?
Can I have an action without a form?
What are the pros and cons of detached objects?
What is RMI and what are the services in RMI?
What is scalable, portability in the view of J2EE?
To identify IDL language what mapping mechanism is used?
What is permgen or permanent generation?
When a thread blocks on i/o?
What if the static modifier is removed from the signature of the main method?
What is a session? Can you share a session object between different theads?
How to implement dphibernate to activate lazy loading in Flex with java ?thanx in advance!
What is a modular application? What does module-relative mean?
what are getters and setters in Java with examples?