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

Enlist the changes in EJB 2.1 ?

967


can u explain about design patterns like singleton,builder,factory

2286


How is ejb different from java beans?

906


Is is possible for an ejb client to marshal an object of class java.lang.class to an ejb?

944


What are ejbs used for?

849


Which is more beneficial: CMP or BMP?

964


What is session facade in ejb?

956


What is ejb container in java?

890


What is stateless session bean?

993


What is an ejb container?

892


How does ejb work in java?

931


Why do we use @requestmapping?

929


What is difference between ejb 1.1 and ejb 2.0?

949


In what format is the conversational data written to the disk?

937


can anyone explain me the workflow of EJB.I have developed an app. in WSAD using an example that contains CMP and session bean.But i am not able to understand the basic flow between diffrent packages.

2302