A class can be a subclass of itself?

Answer Posted / vishal

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

Is This Answer Correct ?    9 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is .net better than java?

555


What is the purpose of object oriented programming?

540


What are the important features of Java 11 release?

582


What are the 4 types of research methods?

515


Is there a sort function in java?

576






What is the relationship between class and object?

527


What is not object oriented programming?

509


Does java arraylist maintain insertion order?

551


Differece between class and generic class?

567


What is string :: npos?

583


Can a constructor be protected?

535


What is hash table in java?

494


What is the final class?

551


What is java instanceof operator?

564


When we should use serialization?

571