why is multiple inheritance not allowed in java?
Answer Posted / mahesh yadav ch
when ever a class extending more then one class. if f1()
method is present all exteding ... when we call f1()
method...jvm will confused which class method is called this
lead to ambuity error.....
java does'nt support multiple inheritance.......
| Is This Answer Correct ? | 19 Yes | 3 No |
Post New Answer View All Answers
Define locale.
Explain why wait(), notify() and notifyall() methods are in object class rather than in the reading class?
Is null an object in java?
Is java util list serializable?
What is public static?
What is java reflection?
What differences exist between iterator and listiterator?
What is java dot?
What is externalizable?
Can we override private methods?
What is this keyword used for?
Why for each loop is used?
What is a percentage sign called?
how to create multithreaded program? Explain different ways of using thread? When a thread is created and started, what is its initial state? Or extending thread class or implementing runnable interface. Which is better? : Java thread
Can we access instance variables within static methods ?