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

What is a condition in java?

524


What is mnemonic in assembly language?

541


what are three ways in which a thread can enter the waiting state? : Java thread

568


What is a method header?

538


Can we have two methods in a class with the same name?

572






What does arrays sort do in java?

529


How does split work in java?

526


What is the use of predicate in java 8?

488


What is the benefit of using enum to declare a constant?

648


What is the difference between compile-time polymorphism and runtime polymorphism?

555


What does java edition mean?

518


What is difference between checked and unchecked exception in java?

561


Is it necessary that each try block must be followed by a catch block?

547


Is string an object?

638


You're given a Boolean 2D matrix, can you find the number of islands?

587