You know you’re not supposed to make assumptions, but you can’t help it when you’re writing code. You put them in comments:
if (x > 2 && y) {
// do something
} else if (x < 2 || y) {
// do something
} else {
// x must be 2
// do something else
}
You write print statements with them:
while (true) {
if (x > 2) {
break;
}
System.out.print("If we got here " +
"something went horribly wrong"