public class Application {
public static void main(String[] args) {
// Cateva conditii utile:
System.out.println(5 == 5);
System.out.println(10 != 11);
System.out.println(3 < 6);
System.out.println(10 > 100);
// Folosim loops cu "break":
int loop = 0;
while(true) {
System.out.println("Looping: " + loop);
if(loop == 3) {
break;
}
loop++;
System.out.println("Running");
}
}
}
Output is:
true
true
true
false
Looping: 0
Running
Looping: 1
Running
Looping: 2
Running
Looping: 3
Wow, wonderful weblog format! How long have you been running a blog for?
you made blogging glance easy. The overall glance of your site is great, let alone the
content material!
Quality posts is the crucial to invite the visitors to visit the
site, that’s what this website is providing.