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

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

844


What is ejb in java?

727


Which is more beneficial: Stateful or Stateless Bean?

778


What do you mean by ‘hot deployment’ ?

808


Can EJB made to handle multiple transactions?

802


Differentiate Conversational from Non-conversational interactions?

805


Why is ejb needed?

724


What are the differences between ejb 3.0 and ejb 2.0?

727


Elucidate callback in ejb?

759


Explain the architectural relationship between JavaBeans and JTA?

2651


What is the purpose of ejb in java?

837


What causes statelessness?

682


What is @enableautoconfiguration?

783


Are entity beans allowed to create() methods?

816


How to increase ejb transaction timeout in weblogic?

784