aspose file tools*
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

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Class Extention" Watch "Class Extention" New topic

Class Extention

Tony Diggs

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

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
I agree. Here's the link:
subject: Class Extention
Similar Threads
can non-static inner class access any member
Doubt about diagram class
WA #1.....word association
Doubt about diagram class (realization)
andrew has wii