HCL Technologies Interview Question: They asked me how inheritance... | Glassdoor.co.in

Interview Question

Software Developer Interview

They asked me how inheritance worked in java.


Interview Answer

1 Answer


The class extends the superclass. There is no multiple inheritance in java, but you can kind of get around this by implementing as many interfaces as you like.

Interview Candidate on 08-Sep-2020

Add Answers or Comments

To comment on this, Sign In or Sign Up.