aspose file tools
The moose likes Java in General and the fly likes inheriting the methods in object class Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » Java in General
Reply Bookmark "inheriting the methods in object class" Watch "inheriting the methods in object class" New topic
Author

inheriting the methods in object class

Manisha reddy
Greenhorn

Joined: May 02, 2006
Posts: 16
how does every class we write , inherits the methods in Object class without importing them using "extends" keyword
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24081
    
  15

If a class doesn't extend any other class, it implicitly extends Object. All classes, then, ultimately are subclasses of Object.


[Jess in Action][AskingGoodQuestions]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: inheriting the methods in object class
 
Similar Threads
Interview q
Threads
tic tac toe and switch statement
why wait notify notifyall defined in object class
Static and Non static Synchronized methods