国产xxxx99真实实拍_久久不雅视频_高清韩国a级特黄毛片_嗯老师别我我受不了了小说

資訊專欄INFORMATION COLUMN

GirlNotFoundException

weknow619 / 2837人閱讀

經典梗 哈哈

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);
        }
    }

}

文章版權歸作者所有,未經允許請勿轉載,若此文章存在違規行為,您可以聯系管理員刪除。

轉載請注明本文地址:http://specialneedsforspecialkids.com/yun/66371.html

相關文章

發表評論

0條評論

最新活動
閱讀需要支付1元查看
<