Mastering Java: The Ultimate Quiz for 'Thinking in Java'

Disable ads (and more) with a membership for a one time $2.99 payment

Mastering Java: The Ultimate Quiz for 'Thinking in Java'. Dive deep into Java with multiple-choice questions. Challenge yourself with quiz questions designed to test and improve your understanding of the 'Thinking in Java' book. Get ready for your exam!

Practice this question and more.


Is it possible for an enum to implement multiple interfaces?

  1. Yes

  2. No

The correct answer is: Yes

Because the definition of an 'enum' states that it can implement multiple interfaces, this means that an enum can contain methods and constants that are similar to one or more unrelated types. Option B is incorrect because an enum can indeed implement multiple interfaces, therefore the answer cannot be no.