Can a class be subclass of itself?

Answer Posted / kimiya

is there any where to have write and exacte answers ?
in my opinion its not logical...why shoud a class extends
itself??...
but i know when ever someone asks a question like this
answer is yes and he like to answer why..!!?

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do I find and replace in word?

528


difference between byte stream class and character stream class?

4074


what is the constructor and how many types of constructors are used in java?

527


How to sort an array from smallest to largest java?

536


When should you make a function static?

537






What is equlas() and hashcode() contract in java? Where does it used?

594


What is the escape character in java?

502


Why does the integer quotient -0/3 yield 0, but the double quotient -0.0/3.0 yields – 0.0?

598


How can I right-justify a string?

617


why are wait(), notify() and notifyall() methods defined in the object class? : Java thread

542


What is the platform?

517


How do you remove an element from an arraylist in java?

456


What is compareto?

534


Why hashcode is used in java?

491


What mechanism does java use for memory management?

483