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
What are ejb components?
Can tomcat run ejb?
Explain what is an EJB Context?
What is ejb in spring?
What is ejb bean in java?
What changes have been made in ejb 2.0 specifications?
What is Enterprise JavaBeans (EJB)?
What is the use of @ejb annotation?
Why do we use ejb?
What is meant by ejb?
What is ejb in java with example?
Who took over ejb?
Write down the steps for the creation of stateless ejb.
Should services be stateless?
What is the difference between session and entity beans? When should I use one or the other?