Can a class be subclass of itself?
Answers were Sorted based on User's Feedback
Answer / avinash chand
In Java every class is a subclass of object class....
Is This Answer Correct ? | 13 Yes | 1 No |
Answer / 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 |
Answer / diganta kumar
yes .thing is that the two class with same name will be
present in different package,then the class can extend the
same class.
Is This Answer Correct ? | 2 Yes | 2 No |
how to print the below in java?thanks in advance.... * * * * * * * *
What happens if we don’t override run method ?
How does thread synchronization occurs inside a monitor? What levels of synchronization can you apply?
Does variable declaration allocate memory?
What is update method called?
What is :: operator in java 8?
What is passing parameters in java?
What are constants and how to create constants in java?
Why is stringbuffer faster than string?
What is an i/o filter?
What restrictions are placed on method overloading?
how many ways we can serialize the java object?