You are not logged in.
- Index
- » Quiz Questions
- » Java Boolean:
- 0
Pages:: 1
#1 2015-06-10 10:20:29
Java Boolean:
Question:
int index = 1;
Boolean [] test = new Boolean[3];
Boolean data = test[index];
What is the result?
Option A):
data has the value of null
Option B):
The code will not compile
Option C):
data has the value of false
Option D):
data has the value of true
Correct Answer is Option C):
data has the value of false
You cannot discover the new oceans unless you have the courage to lose the sight of the shore.
Offline
2015-06-10 10:20:29
- Advertisement
- Ads By Google
Re: Java Boolean:
\n
Pages:: 1