How ploymorphism and inheritance is different from that in Java and c plus plus?

Java

1 answer

Answer

1227292

2026-05-17 02:56

+ Follow

Java
Java

C++ allows multiple inheritance while Java does not. In my opinion, multiple inheritance is not useful because it can get very confusing very quick.

For polymorphism, C++ does early binding by default, while Java does late binding by default. Late binding is more useful than early binding.

ReportLike(0ShareFavorite

Copyright © 2026 eLLeNow.com All Rights Reserved.