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 |
Why are inner classes required?
What is a method declaration?
I have a class which is abstract which contains only the abstract methods. This is similar to an interface. Then, if i have given a choice to choose one of them. Which one i have to choose and why?
What is the arraylist in java?
Is linked list a linear or non-linear data structure?
0 Answers Akamai Technologies,
What data structures are used to perform recursion?
0 Answers Akamai Technologies,
Have you ever used hashtable and dictionary?
What is the difference between hashset and treeset in java?
can you create interface instance ?
How HashMap implemented in java? how it internally works when values are added or searched from hashMap?What is the difference betweenthe implementation of hashmap and Linked Hashmap?
What is passing by reference in java?
What is an i/o filter?