- Mar 12, 2000
- 8,324
- 2
- 0
I'm learning Java on my own right now and one of the things I read is that Java follows the single inheritance paradigm of object oriented programming while C++ allows multiple inheritance.
But Java has something called the Interface which (to me) looks exactly like multiple inheritance. I don't see any difference so why not just make Java be multiple inheritance? Why make up a new term like Interface which just seems like a kludge to allow multiple inheritance?
Also, I find the Java GUI stuff (Swing, AWT) to be a little cumbersome.
But Java has something called the Interface which (to me) looks exactly like multiple inheritance. I don't see any difference so why not just make Java be multiple inheritance? Why make up a new term like Interface which just seems like a kludge to allow multiple inheritance?
Also, I find the Java GUI stuff (Swing, AWT) to be a little cumbersome.