In real time project when will we use Abstract class. and
what are the difference between abstract and interface.
Answer Posted / avinash
In Real time,we use Abstract class when we want the
implemented functionality to be used . In Abstract class ,
there may contain Abstract methods or non abstract
methods(concrete methods).
When we dont want the functionality provided by the abstract
class then we are going to make use of Interface. we
directly implement the interface and provide functionalities
for the abstract methods.
Is This Answer Correct ? | 7 Yes | 2 No |
Post New Answer View All Answers
wahts is mean by dynavalidatorform in struts/
What is the relationship between local interfaces and container-managed relationships?
What is a class loader?
Can I use javascript to submit a form?
What are the benefits of detached objects?
What value does read() return when it has reached the end of a file?
the same information whether it will connect to the database or it will be used previous information?
Will the general public have access to the infobus apis?
Is jvm a overhead?
Difference between loadclass and class.forname?
In inglish: How to convert jar to exe files? Em português: Como converter arquivos .jar para .exe?
whats is statement and procedure
What is the difference between the session.get() method and the session.load() method?
What is the purpose of the wait() method?
Can I run seam with jdk 1.4 and earlier?