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 is difference between stateless and stateful?

736


What is a stateless session?

740


What does statelessness mean?

805


What optimization could I use if the ejb container is the only point of write access to the database?

806


What is the procedure of ejb container to handle exceptions?

776


Enlist the contents of Container.

804


What does it mean to be stateless?

760


What is enterprise bean?

809


What is @enableautoconfiguration?

792


How do I use a less than or greater than on a message selector in ejb-jar.xml?

754


Is decorator an ejb design pattern?

886


What are the types of enterprise bean?

781


How is consistency maintained by Stateful Session through transaction updates ?

897


What is ejb javatpoint?

770


What do you mean by ‘hot deployment’ ?

821