int index = 1;
Boolean [] test = new Boolean[3];
Boolean data = test[index];

What is the result?

Options
- data has the value of false
- data has the value of true
- The code will not compile.
- data has the value of null


CORRECT ANSWER : data has the value of false

Discussion Board
Answer

Answer is data has the value null


sucharitha 12-29-2015 07:15 AM

null is a the answer

data has the value of null

sunil 11-26-2015 09:42 AM

Wrong Ans

Answer is null...



Abinaya 09-11-2014 05:47 AM

wrong answer

you guys are confusing everyone. The correct answer is
data has the value of null


vineet 11-24-2013 04:31 AM

wrong answer

you guys are confusing everyone. The correct answer is
data has the value of null


vineet 11-24-2013 04:30 AM

Write your comments


Enter the code shown above:

(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)


Advertisement