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 were entity beans?
Explain ejbhome and ejbobject in ejb?
What do you mean by re-entrant? Can you say that session beans as re-entrant? Can entity beans be specified as re-entrant?
What is ejb and its uses?
Which services are provided to ejb components by the ejb container?
What is jar, war, and ear?
How can a session bean be configured for transactions of bean-managed?
How entity beans support container managed persistence?
What are the various types of entrepreneur java bean?
Why is ftp stateful?
What’s the difference between hibernate and ejb 3?
What do you mean by ‘hot deployment’ ?
What is ptp model?
What is ejb framework?
Can EJB made to handle multiple transactions?