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...

Which class is extended by all other classes?

Answer Posted / kishor kommula

Every class by default extends Object.

Object class consist of various methods such as
clone,toString,getClass,finalize,notify,wait etc..

If you want to print your own object to the console you
must override the toString method...

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can I declare class as static or private?

943


Can we use string in switch case in java?

1035


Can we force garbage collector to run ?

1041


What is purpose of find feature?

1066


What is boolean used for?

1008


What does function identity () do?

948


Explain polymorphism citing an example.

1026


what is static import in java? Explain

999


When is the finalize() called? What is the purpose of finalization?

1057


How do you write methodology?

965


What are the parts of a method?

963


Write a program to print fibonacci series up to count 10.

885


Can we overload run() method in java?

1181


What is binary tree in java?

1038


What is a top level class in java?

1003