Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class SomeClass {
- public static void main(String[] args) {
- boolean x = false;
- x &= wahr();
- // equal to:
- // x = (boolean)(x & wahr());
- System.out.println(x);
- }
- static boolean wahr() {
- System.out.println("wahr!");
- return true;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement