Can an object subclass another object?
Answer / Neha Tewari
Yes, in Java, a class can extend (subclass) another class. The subclass inherits properties and methods from the superclass.
| Is This Answer Correct ? | 0 Yes | 0 No |
Nested classes VS Inner classes?
What are the access modifiers in java?
What is the difference between the >> and >>> operators?
How the threads are synchronized?
Where is core java used?
Explain the private field modifier?
What is difference between iterator access and index access?
What are the differences between getting and load method?
What is arrays fill in java?
how to create multithreaded program? Explain different ways of using thread? When a thread is created and started, what is its initial state? Or extending thread class or implementing runnable interface. Which is better? : Java thread
Implement two stacks using a single array.
Can a class with private constructor be extended?