Can a class be subclass of itself?

Answer Posted / nagarjuna

Yes, every class as a subclass of itself.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the various access specifiers in java?

540


What is the use of singleton?

491


Explain the usage of this with constructors?

509


Is ++ operator is thread safe in java?

491


What is the generic function?

501






What does those terms actually mean included in the j.d.k i.6?

1576


What is the public method modifier?

520


What are register variables what are the advantages?

431


What is difference between calling start() and run() method of thread?

535


What’s meant by anonymous class?

574


When super keyword is used?

566


Addition to previous section relative word 5th one was Putrid ans: rotten, also there was prob. in 1st section on bucket weight ans:10kg, also there was a prob. on train speed to find bridge length ans:800 mtrs.

1584


What is appletviewer?

538


Where is the singleton class used?

562


What is lambda in java?

499