Multiple Choice Question

Quiz Guidelines

 

QID: 
86
Question: 

Which of the following declaration are valid:

1. bool b = null;
2. boolean b = 1;
3. boolean b = true|false;
4 bool b = (10<11);
5. boolean b = true||false;

Select 1 option

A. 1 and 4
B. 2, 3, and 5
C. 2 and 3
D. 3 and 5
E. 5

Q&A Set: