Toggle navigation
Aliensbrain
Home
Topics
Quizzes
Notebooks
Community
Sign in
programming languages Online Quiz - 324
Why will the following code not compile? Boolean b = new Bo...
Why will the following code not compile? Boolean b = new Boolean("false"); if (b) {}
technology
programming languages
The quotes should not be around false.
New should be after Boolean.
A boolean is expected not a Boolean.
The Semi-colon should not be used.
Show answer
Correct Option:
C
Find more quizzes: