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

What is lifetime variable?

0 Answers  


WHAT IS THE SCOPE FOR COREJAVA...? IS JAVA ONLY CORE JAVA ?

2 Answers  


How do you convert string to int in java?

0 Answers  


what is object-oriented programming in java?

0 Answers   Reliance,


relation between list and linked list

1 Answers   Infosys,


What are the types of relation?

0 Answers  


Difference between linkedlist and arraylist.

0 Answers  


What is the difference between array list and vector in java?

0 Answers  


Can an interface have a constructor?

0 Answers  


What is hypertext?

1 Answers  


What is the use of set in java?

0 Answers  


String is an immutable object. Then how can the following code be justified. String s1 = ?ABC?; String s1 = s1+?XYZ?; s.o.p(s1); The output is ABCXYZ, which is the value of s1 ?

6 Answers   Flextronics, Keane India Ltd,


Categories