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 if I write static public void instead of public static void in java?

0 Answers   Winsol Solutions,


how many access specifiers are available in java

11 Answers  


How does a for loop work?

0 Answers  


What is definition and declaration?

0 Answers  


What is method overloading in java ?

0 Answers  






Can we extend immutable class?

0 Answers  


What is return data type?

0 Answers  


What is a return in java?

0 Answers  


What is preflight request?

0 Answers  


Is 0 a prime number?

0 Answers  


Difference between ?System.out.println? and ?System.error.println??

8 Answers   Sai Softech,


What does nullpointerexception mean?

0 Answers  


Categories