Discussion :: JAVA MCQs
- Which of these statement is correct?
A.
true and false are numeric values 1 and 0.
|
B.
true and false are numeric values 0 and 1.
|
C.
true is any non zero value and false is 0.
|
D.
true and false are non numeric values.
|
Answer : Option D
Explanation :
true and false are keywords, they are non numeric values which do no relate to zero or non zero numbers. true and false are boolean values.
Be The First To Comment