How do conditionals (if/else) work in Java?

Technical