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?

Answers were Sorted based on User's Feedback



Which class is extended by all other classes?..

Answer / debapriya patra

Everybody Knows abt the answer.Bcz its a very easy
question."Object" class is the super class of each and every
class.Sp by default every class extends the "Object" class

Is This Answer Correct ?    17 Yes 1 No

Which class is extended by all other classes?..

Answer / ravikiran

Object

Is This Answer Correct ?    9 Yes 1 No

Which class is extended by all other classes?..

Answer / 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

Which class is extended by all other classes?..

Answer / anjan singh

the answer is already given above. let me ask u another
question related to this one

If every class already extends Object class , how can we
still extend another class??
eg.:

class B extends A{}

if class B already extends Object class , how can it extend
class A?

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More Core Java Interview Questions

How do you know if a value is nan?

0 Answers  


Highest level event class of the event-delegation model?

0 Answers  


Can an abstract class have a constructor?

1 Answers   RBS, Wipro,


What is the primary benefit of encapsulation?

0 Answers  


write java code to print second max number in the array

12 Answers   Huawei, IBAB,


How many static init can you have?

0 Answers  


What does the append?

0 Answers  


Can we overload destructor in java?

0 Answers  


What's the difference between an abstract class and interface in java?

0 Answers  


. Differentiate between instance and local variables.

1 Answers  


How can you generate random numbers in java?

0 Answers  


I have a sorting issue with a Hashmap. My constraint is that I MUST use the Hashmap and work with existing code. I do a database query and place the results in a Hashmap. When I iterate thru the Hashmap, it loses the original alphabetical sorting done by the database. So, my problem is that I must sort the results coming out of the Hashmap which is then placed into another class.

1 Answers  


Categories