Java Software Engineer Question:

Download Job Interview Questions and Answers PDF

Tell me can an enum be extended?

Java Software Engineer Interview Question
Java Software Engineer Interview Question

Answer:

No. Enum types are final by design.

Download Java Software Engineer Interview Questions And Answers PDF

Previous QuestionNext Question
Tell us what do you mean by aggregation?Explain me when do you need to override the equals and hashCode methods in Java?