Answer: D,
because: In the case of an enum in Java, the constructor is always private by default, even if you don't explicitly use the private keyword. This means that you can't create new instances of an enum outside of its definition, only inside the enum itself.
and static variable cannot be initialized in an enum constructor
upvoted 1 times
...
...
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
6c84cb9
4 months agoasdfjhfgjuaDCV
10 months, 2 weeks agosteefaand
11 months, 2 weeks agokarta
2 years, 5 months agoWilsonKKerll
2 years, 10 months agojduarte
3 years, 9 months agoAVB22
3 years, 2 months ago