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
Is it possible to have threading in ejb?
How to determine, that beans are TX or not?
What is ejb in java with example?
What is EJB server?
What is @resource in java?
What is the difference between Session bean and Entity bean?one?
Differentiate “find a method” from “select method” in EJB ?
Name the attributes of javax.ejb.stateful.
Is having static initializer blocks legal in ejb?
What is entity bean?
What is bean in ejb?
What is ejb application?
What are the types of ejb?
What is EJB object?
What is meant by ejb?