A class can be a subclass of itself?

Answers were Sorted based on User's Feedback



A class can be a subclass of itself?..

Answer / janet

yes, a class is a subclass of itself.

Is This Answer Correct ?    25 Yes 14 No

A class can be a subclass of itself?..

Answer / vishal

No. Each class in Java is subclass of "Object" class

Is This Answer Correct ?    9 Yes 5 No

Post New Answer

More Core Java Interview Questions

What is the use of parseint in java?

0 Answers  


What are the loops in java?

0 Answers  


Why is java logo a cup of coffee?

0 Answers  


What are multiple inheritances? Is it supported by java?

0 Answers  


Life Cycle of Thread

4 Answers   IBM,






Define how can we find the actual size of an object on the heap?

0 Answers  


Why there is no call by reference in java?

0 Answers  


when asub class inherits a super class and overrides a public method of super class in sub class(public method in super class). why these methods needs to be public in sub class. (otherwise compile time error).

3 Answers  


Difference between overriding and overloading in java?

0 Answers  


Which is better stringbuilder or stringbuffer?

0 Answers  


if i have one string class then how can you achive this class functionality of this class?

3 Answers   Fidelity, iFlex,


What is the difference in between cpp and java? Can u explain in detail?

0 Answers  


Categories