Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class Testif {
- static String a = "a";
- static String b = "b";
- static boolean warunek1 = true;
- static boolean warunek2 = true;
- public static void main(String[] args) {
- if (warunek1) {
- System.out.println(a);
- return;
- }
- if (warunek2) {
- System.out.println(b);
- return;
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement