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
when A client sent a request to the server to open facebook page and close the browser after this request .at that time the same user do login by using a different browser then that session id will exist or not for the same client??
Should synchronization primitives be used on bean methods?
What is the purpose of the notifyall() method?
What class is the top of the awt event hierarchy?
What restrictions are placed on the location of a package statement within a source code file?
What is the difference between long.class and long.type?
what are the activation groupworks?
What is an abstract method?
Can we sent objects using Sockets?
What is the relationship between an event-listener interface and an event-adapter class?
Which are the different segments of memory?
What classes of exceptions may be caught by a catch clause?
What are the difference between RMI and CORBA?
Explain the steps in details to load the server object dynamically?
Which class is the immediate superclass of the menucomponent class?