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

Differentiate between the constructors and methods in java?

0 Answers  


what is bytecode ?explain in detail and watz the difference between bytecode and machine code?

6 Answers   Lucent,


What is the difference between overriding & overloading?

0 Answers  


What is difference between string and new string?

0 Answers  


What is the difference between length and length () in java?

0 Answers  






What design pattern you have used in your project? I answered Factory pattern, how it is implemented? What are its advantage? Do know about Abstract Factory?

0 Answers   Bravura Solutions,


Why do we need to override equals() and hascode() method of object class?

1 Answers   Cognizant,


How to display all the prime numbers between 1 and 100

0 Answers  


Is it possible to compare various strings with the help of == operator?

0 Answers  


How do you download stubs from Remote place?

0 Answers  


Is it possible to declare abstract class as final?What happens if we do so?

1 Answers  


What do you understand by the term polymorphism?

0 Answers  


Categories