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
Explain the concept of connection pooling feature of ejb container?
Can an ejb send asynchronous notifications to its clients?
How can enterprise javabeans be accessed from active server pages?
Write the basic requirement of a cmp entity based class in 2.0 from ejb 1.1?
Explain what is an EJB Context?
How is consistency maintained by Stateful Session through transaction updates ?
What is difference between stateless and stateful?
What is ejb in weblogic?
Define EAR, WAR and JAR ?
What are the components of ejb?
What are the key benefits of the ejb technology?
What happens when I change a value in the httpsession from inside an ejb?
What is enterprise bean?
Is it possible to write two ejb’s that share the same remote and home interfaces, and have different bean classes? If so, what are the advantages/disadvantages?
What are ejb containers?