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 an interface in java? Explain

578


When object is created and destroyed?

640


What is the main function in java?

533


Define an applet in java?

632


How do you clear an arraylist in java?

498






Why is string builder not thread safe?

591


Is null an object java?

540


What is float in java?

565


Is char * a string?

541


what is a working thread? : Java thread

555


When will you define a method as static in Java?

574


What is an object’s lock and which object’s have locks?

506


What do you mean by platform independence of Java?

538


What does int argc char * argv [] mean?

518


What are the java ide's? Explain

525