why java does not support multiple inheritance
Answer Posted / velmurugan.p
basically java does not support multiple inheritance because
java extend only one class so we use interface in multiple
inheritance to define more than one class to avoid ambiguity.
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
What is the main use of java?
Can a class be private?
How to check if a list is sorted in java?
What is protected in java?
Is it necessary that each try block must be followed by a catch block?
What is null in java?
What is data and its types?
How many ways can we create singleton class?
Can you sort a list in java?
What is the exact difference in between unicast and multicast object? Where we will use?
Why do we use return statement?
Explain public static void main(string args[]) in java.
Explain java coding standards for variables ?
What is ternary operator?
What is the purpose of static methods and static variables?