Regarding Object class function access from a user defined class
<p>We can use base class functions by extending from subclass.Generally we use equals() method which is defined in Object class.I read in the book that every class will extend Object class and so that we are able to use functions like equals() in our user defined class with subclass reference.</p>

<p>One doubt i am having is with out extending Object class (Even any other class that extends Object class) we are able to use equals method.</p>

<p>can any one explain how it happens? </p>
