MCQGeeks
0 : 0 : 1
CBSE
JEE
NTSE
NEET
English
UK Quiz
Quiz
Driving Test
Practice
Games
Practice
Java Chapter 8 Quiz
«
Multiple Choice Questions
»
1
2
3
A declaration for an enumerated type begins with this key word. enum enum_type enumerated ENUM
0%
enum
0%
state
0%
OAK
0%
has a
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
Java automatically stores this value in all uninitialized static member variables: null 0 -1 false
0%
False
0%
0
0%
True
0%
1
0 h : 0 m : 1 s
«
Multiple Choice Questions
»
1
2
3
0
Answered
0
Not Answered
0
Not Visited
Correct : 0
Incorrect : 0
Report Question
×
What's an issue?
Question is wrong
Answer is wrong
Other Reason
Want to elaborate a bit more? (optional)
Support mcqgeeks.com by disabling your adblocker.
×
Please disable the adBlock and continue.
Thank you.
Reload page