| 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
|
|
|
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]
|
 |
 |
|
|
subject: inheriting the methods in object class
|
|
|