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?

Answers were Sorted based on User's Feedback



java doesnot support multiple inhetance. but a interface can support.how the ambiguities are rectif..

Answer / anshu aggarwal

In java interfaces are used instead of multiple inheritance
to overcome the problem of ambiguity. Ambiguity dont arise
due to interfaces because interfaces contain only abstract
methods that is juat declarations.

Is This Answer Correct ?    6 Yes 3 No

java doesnot support multiple inhetance. but a interface can support.how the ambiguities are rectif..

Answer / madhu

The question itself ambiguous. If it is, how could you
overcome the ambiguity of not supporting multiple
inheritance but has a partial support of it by the means of
interfaces? Then the answer could read like this.

Java does not support multiple inheritance but does it
partially by means of interfaces. Interfaces are not actual
entities but is an abstraction. Hence the method
declarations and variable declarations but not exact
implementation, like the classes.

There is no rectification required anywhere here because
there are no errors in this concept. It is just another way
of interpreting OOPS, unlike in C++ or Ada (where multiple
inheritance is allowed).

Good Luck my fellow readers, for all your interviews.

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More EJB Interview Questions

What happens when I change a value in the httpsession from inside an ejb?

0 Answers  


What is beaninfo ?

1 Answers  


Which of the recommended practices to be performed in the ejbpassivate() method of a stateful session bean?

0 Answers  


What’s new in the ejb 2.0 specification?

0 Answers  


Using Container managed entity bean, how an entity bean can be created?

1 Answers  


What is enterprise javabeans (ejb) container?

0 Answers  


what is a ejb architecture? and overview of ejb software architecture?

1 Answers  


How is an entity bean created?

1 Answers  


What is the difference between stateful and stateless session beans?

2 Answers   Tech Mahindra,


What is ejb role in j2ee?

0 Answers  


What is Enterprise JavaBeans Query Language (EJB QL)?

0 Answers  


Can the primary key in the entity bean be a Java primitive type such as int?

2 Answers   CTS,


Categories