亚洲中字慕日产2020,大陆极品少妇内射AAAAAA,无码av大香线蕉伊人久久,久久精品国产亚洲av麻豆网站

資訊專(zhuān)欄INFORMATION COLUMN

GirlNotFoundException

weknow619 / 2889人閱讀

經(jīng)典梗 哈哈

public class Funny {

    public static void main(String[] args) {
        Coder me = new Coder("my name");
        getGirl(me);
    }

    private static GirlFriend getGirl(Object boy) {
        return new GirlFriend(boy);
    }

    private static class Coder {
        Coder(String name) {
        }
    }

    private static class GirlFriend {
        GirlFriend(Object boy) {
            if (boy instanceof Coder) {
                throw new GirlNotFoundException("Not possible for you XD");
            } else {
                System.out.println("Found");
            }
        }
    }

    private static class GirlNotFoundException extends RuntimeException {
        GirlNotFoundException(String msg) {
            super(msg);
        }
    }

}

文章版權(quán)歸作者所有,未經(jīng)允許請(qǐng)勿轉(zhuǎn)載,若此文章存在違規(guī)行為,您可以聯(lián)系管理員刪除。

轉(zhuǎn)載請(qǐng)注明本文地址:http://www.ezyhdfw.cn/yun/66371.html

相關(guān)文章

發(fā)表評(píng)論

0條評(píng)論

最新活動(dòng)
閱讀需要支付1元查看
<