D

Dhruva Jagannath • 660 Points
Invincible

Q. What kind of fields can enums have?

  • (A) Only final fields
  • (B) Only static fields
  • (C) Any type of field
  • (D) Enums cannot have fields

Explanation by: Dhruva Jagannath
Enums can have any type of field: final, static, instance, etc.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.