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 |
Explain different states of a thread in java?
How can an object be unreferenced?
What do you understand by abstract classes?
What is the use of default method in interface in java? Explain
Is java code slower than native code?
What is the default value of byte datatype in java?
What is a lock or purpose of locks in java?
Can a double value be cast to a byte?
Difference between Array and vector?
What are the legal operands of the instanceof operator?
Add a value x to array from index l to r where 0 <= l <= r <= n-1
Difference between string, string builder, and string buffer?