Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

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??

1544


Should synchronization primitives be used on bean methods?

1068


What is the purpose of the notifyall() method?

1043


What class is the top of the awt event hierarchy?

1113


What restrictions are placed on the location of a package statement within a source code file?

1112


What is the difference between long.class and long.type?

1111


what are the activation groupworks?

2202


What is an abstract method?

1069


Can we sent objects using Sockets?

1146


What is the relationship between an event-listener interface and an event-adapter class?

1127


Which are the different segments of memory?

1083


What classes of exceptions may be caught by a catch clause?

1041


What are the difference between RMI and CORBA?

1116


Explain the steps in details to load the server object dynamically?

5108


Which class is the immediate superclass of the menucomponent class?

1202