HuaHua huahua = HuaHua.getInstance(); try{ huahua.setPhone( (iPhoneX)AppleStore.provide(huahua.getMoney()); ); }catch(NullPointerException e){ Logger.error("HuaHua", "Insufficient fund"); }finally{ if (huahua.hasBoyFriend()) { huahua.setPhone( (iPhoneX)AppleStore.provide(huahua.getBoyFriend().getMoney()); ); } }
点赞 1

相关推荐

06-02 15:53
阳光学院 Java
点赞 评论 收藏
分享
点赞 评论 收藏
分享
牛客网
牛客网在线编程
牛客网题解
牛客企业服务