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
What state does a thread enter when it terminates its processing?
What are the design considerations while making a choice between using interface and abstract class?
What are the benefits of detached objects?
What is the difference between the string and stringbuffer classes?
What is the purpose of the notify() method?
Why use a datasource when you can directly specify a connection details?
Name the eight primitive java types.
what are the activation groupworks?
how do you Handle Front End Application data against DB with example?
Can I run seam outside of jboss as?
Why are my checkboxes not being set from on to off?
What is TL and its use?
Is jvm a overhead?
Is the infobus client side only?
how i secure my site with the https protocol.what are the steps?