What is the point of logical statements in java? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What is the point of logical statements in java?

This logical statements are actually illogical statements

16th Jan 2019, 1:20 PM
Anshuman Kapoor
Anshuman Kapoor - avatar
2 Answers
16th Jan 2019, 7:15 PM
Danijel Ivanović
Danijel Ivanović - avatar
0
They are very useful, you can use they, for example, to confirm that the user is an teenager: If(age>=14 && age<18)
16th Jan 2019, 1:40 PM
Luis Méndez
Luis Méndez - avatar