public class J {
    int test1() {
        if (true)
            return 1;
        return 0;
    }

    void test2(boolean b) {
        if (b)
            System.out.println("true");
        else
            System.out.println("false");
    }
}
