热门
最新
红包
立Flag
投票
同城
我的
发布
求引导#
4 年前
truem0_69614824
哪位大佬出个手占用你宝贵的时间呐……
安排牛子和华子
每日学习打卡
下一条:
if(p instanceof Architect) {if(numberOfArchitect==1) throw new TeamException("团队中至多只能有一名架构师");}else if(p instanceof Designer) { if(numberOfDesigner==2) throw new TeamException("团队中至多只能有两名设计师");}else if(p instanceof Programmer) { if(numberOfProgrammer==3) throw new TeamException("团队中至多只能有三名程序员");}和if(p instanceof Architect&&numberOfArchitect==1) throw new TeamException("团队中至多只能有一名架构师");else if(p instanceof Designer&&numberOfDesigner==2) throw new TeamException("团队中至多只能有两名设计师");else if(p instanceof Programmer&&numberOfProgrammer==3) throw new TeamException("团队中至多只能有三名程序员");的意思居然不一样
立即登录