Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...


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

Describe different states of a thread.

0 Answers  


Given a singly linked list, determine whether it contains a loop or not without using temporary space?

0 Answers   Global Logic,


Explain what are final variable in java?

0 Answers  


What is a protected void?

0 Answers  


Which java ide is used the most?

0 Answers  






What is "finally" keyword?

10 Answers  


What is an object in Java and what are its benefits?

4 Answers   IBM,


What are the advantages of the model over the event- inheritance model?

1 Answers  


program to validate the IP address? Validity range should be 0 to 255

1 Answers   Huawei,


What is singleton class in ruby?

0 Answers  


What is the main functionality of the remote reference layer?

0 Answers  


write a code, we have two thread, one is printing even no and other print the odd no.

1 Answers   Global Logic,






Categories