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 logical variable?

494


What are the procedures?

597


How can you avoid serialization in child class if the base class is implementing the serializable interface?

619


What is thread safe in java?

536


What is the difference between multiple processes and multiple threads?

559






How do you replace a string in java?

532


How does compareto work in java?

559


What is autoboxing in java?

591


Find the value of a specified element of the array arr[i] where 0 <= i <= n-1

527


What is collection api?

598


What are the features in java?

562


What is ide with example?

535


Is it compulsory for a try block to be followed by a catch block in java for exception handling?

579


What are conditionals and its types?

569


what invokes a threads run() method? : Java thread

563