Double is written
Nothing is wrong
Value is not given
Answer is Wrong!
Answer is Right!
The correct answer is: D. Value is not given
The variable dblPi
is declared as a static variable of type Double
. However, no value is assigned to it. This means that the variable will have an indeterminate value.
The other options are incorrect because:
- Option A is incorrect because the keyword
Double
is spelled correctly. - Option B is incorrect because there is nothing wrong with the keyword
Static
. - Option C is incorrect because the keyword
Static
does not start with anS
.