1z0-809 question 98 discussion

View all Java SE 8 Programmer II Exam here
back to oracle forum

Question 98

Given the code fragment:

Which is the valid definition of the Course enum?


  • A. Option A
  • B. Option B
  • C. Option C
  • D. Option D
Answer:

D

User Votes:
A 1 votes
50%
B
50%
C
50%
D
50%
Discussions
0 / 1000
vidhya
6 months, 3 weeks ago

in option d , the constructor by default is private which doesnt allow to access outside the class.option a has the public constructor