Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

what is the purpose of class "Object" which is base class
for all classes?

Answer Posted / piryabrata patro

listen first , when you create object of one class which is not extending any class than , instead of one object , two object will be created and that is nothing but object of Object class and one more thing is no object is created with out it's superclass. So, object of subclass can not be created without it's superclass where Object class comes into picture because by default compiler gives Object class as superclass to all class which is not extending any class at compilation time itself.

Is This Answer Correct ?    4 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is basic syntax?

1046


What is ide with example?

978


Can we call virtual funciton in a constructor ?

2207


What is independent and dependent variables in research?

875


Is set ordered?

980


Which browsers work with java?

1078


Why we use set in java?

1006


Can an interface be defined inside a class?

1065


Is list thread safe in java?

925


What is meant by class loader? How many types are there?

1254


Give few difference between constructor and method?

970


What is Mutex (Mutual Exclusion Object) ?

1152


What is the similarity between dynamic binding and linking?

1122


What is the use of keywords in java?

982


What is the benefit of inner classes in java?

1092