This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes Class Extention Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Class Extention" Watch "Class Extention" New topic
Author

Class Extention

Tony Diggs
Greenhorn

Joined: Jun 28, 2003
Posts: 5
I've used clases and sub classes before. Is it true that only
one class can be extended ?
Tony,
Jim Yingst
Wanderer
Sheriff

Joined: Jan 30, 2000
Posts: 18671
You can only directly extend one class, yes. That class may extend another class, etc, so you may have many classes that are indirectly extended, but only one direct superclass.
This seems like an introductory Java question, so I'm moving this thread to Java in General - Beginner.


"I'm not back." - Bill Harding, Twister
 
GeeCON Prague 2014
 
subject: Class Extention