why is multiple inheritance not allowed in java?
Answer Posted / haridini
Suppose if u inherit from multiple classes and in these
classes a method of same name exists then the class which
inherits from these classes gets confused that which one to
inherit. And this is also because of reducing complexity.
And above all u will get the multiple inheritance concept
in java through interfaced.
| Is This Answer Correct ? | 18 Yes | 6 No |
Post New Answer View All Answers
What is substring 1 in java?
What is bifunction in java?
Is string is a class in java?
Why is the main method static?
How do you square a number?
Which class is used by server applications to obtain a port and listen for client requests?
What is string data?
Does garbage collection occur in permanent generation space in jvm?
Where can i get Latest SUN Certification Dumps and what are the Sun Certification Codes that are available, Im new to JAVA, so please gimme info as i need to write J2EE - Core Java Certification
Is break statement can be used as labels in java?
What type of value does sizeof return?
Is java 1.7 the same as java 7?
What do you mean by data type?
What is a super method?
What are peerless components?