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

How can enterprise javabeans be accessed from active server pages?

561


What is the use of @ejb annotation?

528


What are the callback annotations for the stateless bean?

489


What are the types of enterprise bean?

558


What is session bean?

537






What is a ejb container?

513


What are transaction isolation levels in ejb?

540


What is ejb in java?

530


Define EAR, WAR and JAR ?

585


What causes statelessness?

470


List down the steps for the demonstration of ejp persistence mechanism.

614


Is it possible to have threading in ejb?

544


Explain the concept of connection pooling feature of ejb container?

518


Are entity beans allowed to create() methods?

573


Write down the steps for the creation of stateless ejb.

598