Java Programming - Language Fundamentals - Discussion
Discussion Forum : Language Fundamentals - General Questions (Q.No. 11)
11.
Which one is a valid declaration of a boolean?
Answer: Option
Explanation:
A boolean can only be assigned the literal true or false.
Discussion:
15 comments Page 2 of 2.
Vineet said:
1 decade ago
Please also define the resion of other option, why is not corret.
Sweety said:
1 decade ago
Boolean always returns true or false. So option A can't be !
Vinita said:
9 years ago
Why A is not Correct? Answer me clearly.
Saurav said:
1 decade ago
Why is option A not correct?
Tamisevi said:
8 years ago
Why b is not correct?
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers