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

Can we use catch statement for checked exceptions when there is no chance of raising exception in our code?

0 Answers  


List any five features of java?

0 Answers  


why String class is immutable.

5 Answers   iGate,


What is the final variable?

0 Answers  


What is an array length?

0 Answers  






Suppose there is an Online shopping cart application having different objects like Cart, SelectionItem, Billing, COnfiguration, Authentication, Authorization, PersonalDetails etc. Out of this which one can be made a singleton pattern and why?

2 Answers   RBS,


Are arrays immutable in java?

0 Answers  


Which method will get invoked first in a stand alone application?

1 Answers  


What are alternatives to java serialization?

0 Answers  


What is the final class?

0 Answers  


What is object-oriented programming?

0 Answers  


What is a singleton class? Give a practical example of its usage.

0 Answers  


Categories