I don't like making so many Objects. Can I just extend it? If so, how would I input the methods inherited by it?
Printable View
I don't like making so many Objects. Can I just extend it? If so, how would I input the methods inherited by it?
What happened when you tried?
Also, I'm not sure how making an Object that inherits from another Object will allow you to make less Objects? What exactly do you mean by that?
Recommended reading: Inheritance (The Java™ Tutorials > Learning the Java Language > Interfaces and Inheritance)
Yes you should be able to do so, I see no problem... ^^