why java does not support mulitple inheritance directly?
Answers were Sorted based on User's Feedback
Answer / kranthi kumar adari.
Java doesnot support multiple inheritance bcoz it leads to
ambiguity when two base classes are having same function
signature.
| Is This Answer Correct ? | 9 Yes | 0 No |
Answer / sumit pal singh
java Doesn't Support multiple inheritance.when two super classes have same variable name and same method name .then subclass confused from which class variable and method will be executed.due to this ambiguity is produced and java is a simple programming language not produce any confusion to developer.so multiple inheritance is restricted in java.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / ravikiran
Because we cann't extend more than one class at once
| Is This Answer Correct ? | 4 Yes | 10 No |
We are seeing so many videos/audios as many web sited. But question is these videos or audios are stored in Databases ( Oracle, Mysql, Sybase,... ) or stored any file directory from there they will give the link for that? Pls explain and give sample code to achieve this one? Thanks, Seenu.
What is the purpose of using javap?
Why chararray() is preferred over string to store the password?
How many Java environments are there?
1 Answers Phantom Technologies,
When is the arraystoreexception thrown?
What is bubble sort in java?
When finalize method is called?
What is Session and cookies?Explain in detail with an example?
Can applet in different page/s communicate with each other?
What is difference between pointer and reference?
can any one tell me what is advantage of encapsulation
I need to know about complete topic in java's collections i with an examples