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


Please Help Members By Posting Answers For Below Questions

why static class in java

1741


Which javutil classes and interfaces support event handling?

1007


What is meant by method chaining?

1106


Difference between DurableSubscription and non- DurableSubscription?

2145


What is JTS?

2319


Where we can write Rmi registry in the code, without having to write it at the command prompt?

2745


What is a policy?

2259


what is Activation Instantinator?

2390


What must a class do to implement an interface?

1128


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

2204


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?

2109


Where can I ask questions and make suggestions about seam?

1028


what are the activation groupworks?

2142


To identify IDL language what mapping mechanism is used?

3904


Difference between new operator and class.forname().newinstance()?

1099