A class can be a subclass of itself?

Answer Posted / janet

yes, a class is a subclass of itself.

Is This Answer Correct ?    25 Yes 14 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is gui programming?

524


Why are the destructors for base class and derived class called in reverse order when the program exits

1712


What are advantages and disadvantages of OOPs?

630


What is meant by stack and queue?

608


What is tree node in java?

532






What happens if we don’t override run method ?

571


What is the map interface in java programming?

591


What is the purpose of javac exe?

563


Can we write any code after throw statement?

614


What is the functionability stubs and skeletons?

690


What is encapsulation in java?

631


Can we use different return types for methods when overridden?

559


How do you compare arrays in java?

505


What is the size of a string in java?

549


What is difference between checked and unchecked exception in java?

584