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
whats is statement and procedure
What restrictions are placed on the values of each case of a switch statement?
What is the relationship between the canvas class and the graphics class?
What is the highest-level event class of the event-delegation model?
What is a modular application?
how i secure my site with the https protocol.what are the steps?
To identify IDL language what mapping mechanism is used?
What restrictions are placed on the location of a package statement within a source code file?
Can I import same package/class twice? Will the jvm load the package twice at runtime?
How would you create a button with rounded edges?
Why is actionform a base class rather than an interface?
what is the use of State Factories?
What is a tasks priority and how is it used in scheduling?
Explain what is orm?
what is Activation Instantinator?