0
Which do you prefer, inheritance and polymorphism in Java or C#?
5 Answers
+ 2
Who's the guy that downvoted everything, lol.
- 1
c# because you can inherit from multiple interfaces, where as in Java, you cannot.
- 1
You cannot inherit from multiple classes in c#...
You can realize multiple interfaces.
- 1
Can u inherit from multiple classes in Java? If yes than I'd rather have that than multiple useless interface inheritance, as for polymorphism I don't know how it works in Java.
- 1
is it possible to declare classes within ur main class as many as the number of classes that u want to inherit from , thus it will look like inheriting from many classes, I think.