Can a class be subclass of itself?

Answers were Sorted based on User's Feedback



Can a class be subclass of itself?..

Answer / avinash chand

In Java every class is a subclass of object class....

Is This Answer Correct ?    13 Yes 1 No

Can a class be subclass of itself?..

Answer / kimiya

is there any where to have write and exacte answers ?
in my opinion its not logical...why shoud a class extends
itself??...
but i know when ever someone asks a question like this
answer is yes and he like to answer why..!!?

Is This Answer Correct ?    1 Yes 0 No

Can a class be subclass of itself?..

Answer / diganta kumar

yes .thing is that the two class with same name will be
present in different package,then the class can extend the
same class.

Is This Answer Correct ?    2 Yes 2 No

Can a class be subclass of itself?..

Answer / nagarjuna

Yes, every class as a subclass of itself.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Core Java Interview Questions

What is run time allocation?

0 Answers   Fidelity,


Is vector thread safe in java?

0 Answers  


I want to persist data of objects for later use. What’s the best approach to do so?

0 Answers  


What is the difference between getCodeBase and getDocumentBase methods?

1 Answers   CS Business Services,


What is the simpletimezone class in java programming?

0 Answers  






What is the file type?

0 Answers  


What are the important methods of java exception class?

0 Answers  


What is the base class in java from which all classes are derived?

0 Answers  


What is the largest long allowed by java?

0 Answers  


Explain why wait(), notify() and notifyall() methods are in object class rather than in the reading class?

0 Answers  


Explain about vector, dictionary,hash table, property classes?

1 Answers   Patni,


What is the difference between DataInputStream and BufferedReader

2 Answers   Hexagon,


Categories