What about IF ?In Java, a while or do/while construct takes an expression that returns a boolean.
About Question enthuware.ocajp.i.v8.2.847 :
Moderator: admin
-
- Posts: 202
- Joined: Mon Apr 02, 2018 8:40 am
- Contact:
About Question enthuware.ocajp.i.v8.2.847 :
-
- Site Admin
- Posts: 10058
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.ocajp.i.v8.2.847 :
Not sure what you mean. If takes a boolean expression as well. But the question is about while.
If you like our products and services, please help us by posting your review here.
-
- Posts: 202
- Joined: Mon Apr 02, 2018 8:40 am
- Contact:
Re: About Question enthuware.ocajp.i.v8.2.847 :
aha ok that is now clear.
Only if, while and for take an expression that returns a boolean.
Only if, while and for take an expression that returns a boolean.
-
- Site Admin
- Posts: 10058
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.ocajp.i.v8.2.847 :
A for does too.
If you like our products and services, please help us by posting your review here.
Who is online
Users browsing this forum: No registered users and 103 guests