Is a class subclass of itself?
Answer / Santosh Kumar Pradhan
No, by default, a class is not a subclass of itself in Java. To make a class a subclass of another, you should extend it using the extends keyword.
| Is This Answer Correct ? | 0 Yes | 0 No |
How to display arraylist values in java?
what is real-time example of runtime polymorphism and compile time polymorphism
Name four container classes.
How many bytes is 255 characters?
What are the data types supported by java? What is autoboxing and unboxing?
What is not object oriented programming?
Is there any case when finally will not be executed?
What is the difference between stream and buffer?
What languages are pass by reference?
Why cant we define System.out.println() inside a class directly?
What do you mean by chromounits in java8?
When can we say that threads are not lightweight process in java?