Core Java Interview questions on Java inheritance

Core Java Interview questions on Java inheritance

1. What is Inheritance ?
2. Explain the Inheritance principle ?
3. Does Java support multiple inheritance ?
4. How do you inherit class can you give examples ?
5. Can one class extend multiple classes and why ?
6. How do you encapsulate properties in inheritance ?

Check out all interview questions:

Leave a Reply

Your email address will not be published. Required fields are marked *

I am not Robot *