Skip to main content

All Questions

Tagged with
0 votes
3 answers
2k views

Are objects that can pass more than one IS-A test really polymorphic?

A number of tutorials on polymorphism state that "Any object that can pass more than one IS-A test is considered to be polymorphic." I wonder what they mean by that, and if that's even a true ...
wolfrevo_kcats's user avatar
1 vote
1 answer
339 views

Implementation of instance testing in Java, C++, C#

For curiosity purposes as well as understanding what they entail in a program, I'm curious as to how instance testing (instanceof/is/using dynamic_cast in c++) works. I've tried to google it (...
Jake's user avatar
  • 279
1 vote
1 answer
305 views

Can we say that Java or C# have unified inheritance trees?

Can we say that Java or C# are OO languages with a unified inheritance tree/unified type system? By unified inheritance tree/unified type system I mean that every class derives implicitly or ...
Yoda's user avatar
  • 179
36 votes
3 answers
2k views

Does Java development typically involve more subclassing than C#/.NET?

I've recently started looking at Android development. This has brought me back into the world of Java software development. The last time I worked with Java, I'll admit, I didn't understand OOP nearly ...
MetaFight's user avatar
  • 11.6k