This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes extends Object Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "extends Object" Watch "extends Object" New topic
Author

extends Object

Don Bosco
Ranch Hand

Joined: Oct 31, 2002
Posts: 108
we say that every class in java is a subclass of Object.
class Test extends Base{
}
In the above example Test extends Base. Test also extends Object. How is it possible?


SCJP 1.4<p>Wingardium Leviosa!!
Barkat Mardhani
Ranch Hand

Joined: Aug 05, 2002
Posts: 787
because Base extends Object class...
Don Bosco
Ranch Hand

Joined: Oct 31, 2002
Posts: 108
Good point!! Thanks Dude.
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: extends Object
 
It's not a secret anymore!