why object class is a parent of all classes in java?

Answer Posted / amit singh

(1):-->Why Object Class Is A Parent Class
Reason Is Simple
In Java Only Main Thing Is That One Class Must Be There,
From Where Any User Define Class Must To Be Extend
Automatically,

(2):-->Object Is Class That Had Have Some Property
That Any Class Must To Have These Property
Means HashCode

(3):-->Simple Every Class is A Class,
But Why Reason Is That ,
Why They Made It A Class Not An Inteface Object Interface
Answer Is Simple,
Java Follow Interface For Multiple Inheritence And For
Multilevel They Used Interface,

Any Class Creating An Object ,
An Object Must Itself An Object So Object First It Self
And Object So Means First It Must To Extend And Object Class
Where Some Property Must Be There,

So Classes First Must Ber Object Then Its Type
Means Classes Extends Automatically Extend Object
Class Means Simple
Just For Object Of A Class Otherwise No Need To Make
Object Class Means James Did This Thing To KeepThis In Mind
Means Any CLass Object Itself An Object Then Type
Of Itself
So Extend Every Class From Object Class ,

(4):-->why not For Interface Means
Class Object Must To Be Object First Means An Object Type
Refrence Not An InterfaceType
So He Did Not
Used Interface Object He Used Object Class

(5):-->
Means Simple If Sons Has His Parent Definetly He Will Have
Some Default Peoperty
Means
Diabatic
Or Another Thing Means Height
By Object Class Property Is Hidden But It Will Modify
Contantly Or Not
Means Modify
Means Overloading Of Hashcode Method
Or Default Means
Dont Override hashcode
so It Will Have Normal Property
Constantly
So That Is True I Am Not Satisfy By Above
Answer
Bookish
But Not Reaching The Thought Of "Modern Age Compiler Father
James"

Thanks
Amit Singh
amitsing2008@gmail.com
iam back again after few years
thanks

Is This Answer Correct ?    2 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can a CORBA object, accessed from a EJB?

1673


Differentiate Conversational from Non-conversational interactions?

542


What is the use of @ejb annotation?

530


What is the meaning of acid in the connection of transaction management?

539


How does ejb container work?

513






What is the difference between @requestparam and @pathvariable?

486


What are the key features of the ejb technology?

583


What is ejb framework?

559


What is ejb and why it is used?

500


What is enterprise bean?

592


What are the various types of entity beam?

548


What is ejb bean in java?

586


what is the Relationship between EJB and CORBA architecture?

3418


Name the attributes of javax.ejb.stateful.

554


What is EJB server?

594