java doesnot support multiple inhetance. but a interface can
support.how the ambiguities are rectified in interfaces?
Answer Posted / madhu
The question itself ambiguous. If it is, how could you
overcome the ambiguity of not supporting multiple
inheritance but has a partial support of it by the means of
interfaces? Then the answer could read like this.
Java does not support multiple inheritance but does it
partially by means of interfaces. Interfaces are not actual
entities but is an abstraction. Hence the method
declarations and variable declarations but not exact
implementation, like the classes.
There is no rectification required anywhere here because
there are no errors in this concept. It is just another way
of interpreting OOPS, unlike in C++ or Ada (where multiple
inheritance is allowed).
Good Luck my fellow readers, for all your interviews.
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
What is bean in ejb?
What does statelessness mean?
An instance of stateful session ejb when accessed simultaneously from more than one clients on same vm results in remoteexception or ejbexception. In case the client is a servlet thread, which of the techniques can be used to avoid remoteexception/ejbexception?
What is Enterprise JavaBeans (EJB)?
What is session bean?
What is ejb and why it is used?
What are the advantages of ejb?
What is stateless session bean?
Which services are provided to ejb components by the ejb container?
How do I use a less than or greater than on a message selector in ejb-jar.xml?
What is software architecture of ejb?
What are ejb containers?
What is backing bean?
what is the Relationship between EJB and CORBA architecture?
Should services be stateless?