Can an object subclass another object?



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

Post New Answer

More Core Java Interview Questions

Nested classes VS Inner classes?

3 Answers   Infosys,


What are the access modifiers in java?

1 Answers  


What is the difference between the >> and >>> operators?

1 Answers  


How the threads are synchronized?

2 Answers   BMC, CTS,


Where is core java used?

1 Answers  


Explain the private field modifier?

1 Answers  


What is difference between iterator access and index access?

1 Answers  


What are the differences between getting and load method?

1 Answers  


What is arrays fill in java?

1 Answers  


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

1 Answers  


Implement two stacks using a single array.

1 Answers   Global Logic,


Can a class with private constructor be extended?

1 Answers  


Categories