A declaration for an enumerated type begins with this key word. enum enum_type enumerated ENUM
100%
enum
0%
state
0%
OAK
0%
has a
Q.2.
Assuming the following declaration exists:enum Tree { OAK, MAPLE, PINE }What will the following code display?System.out.println(Tree.OAK); Tree.OAK 0 1 OAK Nothing. This statement will cause an error.
0%
state
0%
OAK
0%
enum
0%
has a
Q.3.
Java automatically stores this value in all uninitialized static member variables: null 0 -1 false
0%
False
100%
0
0%
True
0%
1
Support mcqgeeks.com by disabling your adblocker.
Please disable the adBlock and continue. Thank you.