Multiple Choice
Look at the following declaration: enum Tree { OAK, MAPLE, PINE }
What is the fully-qualified name of the PINE enum constant?
A) PINE
B) enum.PINE
C) Tree.PINE
D) Tree(PINE)
E) PINE.Tree
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q3: If the this variable is used to
Q7: An instance of a class does not
Q13: Enumerated types have this method, which returns
Q15: Look at the following declaration: enum Tree
Q16: Enum constants have a toString method.
Q17: Which of the following is NOT true
Q19: A static field is created by placing:<br>A)
Q20: CRC stands for:<br>A) Code, Reuse, Constancy<br>B) Class,
Q23: The only limitation that static methods have
Q31: You cannot use the == operator to