In real time project when will we use Abstract class. and
what are the difference between abstract and interface.
Answer Posted / gopi
abstract class means--it has atmost one abstract
method.remaining might be abstract or not.
interface means ---it has almostall abstract methods.u have
only the method specification.
In real time if u want to share the some common features in
the abstract class u have to extends the abstract class.
so, u need not wrote the body to the all the methods.
if u implement interface u should write body to the all
the methods.
| Is This Answer Correct ? | 12 Yes | 13 No |
Post New Answer View All Answers
why static class in java
Which javutil classes and interfaces support event handling?
What is meant by method chaining?
Difference between DurableSubscription and non- DurableSubscription?
What is JTS?
Where we can write Rmi registry in the code, without having to write it at the command prompt?
What is a policy?
what is Activation Instantinator?
What must a class do to implement an interface?
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
AS a developer will u create a data source in connection pool? If so how will u do that, how to access the object from connection pool using IRAD tool?
Where can I ask questions and make suggestions about seam?
what are the activation groupworks?
To identify IDL language what mapping mechanism is used?
Difference between new operator and class.forname().newinstance()?