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

java doesnot support multiple inhetance. but a interface can
support.how the ambiguities are rectified in interfaces?

Answer Posted / padmaja

since java doesn,t support multiple inheritance,
to overcome the disadvntage of multiple inheritance
interfaces are came.

multiple inheritance means,many sub classes can share
the properties of base class

interfaces are also providing the same feature
but,the class which is implemented the interface
that should give the definition for all the methods present
in the interface.
so,one interface can be implemented by no of classes
by this,the ambiguities are rectified in interfaces

Is This Answer Correct ?    3 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What were entity beans?

999


Explain ejbhome and ejbobject in ejb?

1064


What do you mean by re-entrant? Can you say that session beans as re-entrant? Can entity beans be specified as re-entrant?

972


What is ejb and its uses?

983


Which services are provided to ejb components by the ejb container?

1141


What is jar, war, and ear?

1156


How can a session bean be configured for transactions of bean-managed?

1109


How entity beans support container managed persistence?

2452


What are the various types of entrepreneur java bean?

957


Why is ftp stateful?

1034


What’s the difference between hibernate and ejb 3?

1018


What do you mean by ‘hot deployment’ ?

1066


What is ptp model?

1005


What is ejb framework?

1087


Can EJB made to handle multiple transactions?

1022