永发信息网

Java中,状态模式和策略模式的区别

答案:1  悬赏:60  手机版
解决时间 2021-11-24 16:50
  • 提问者网友:温柔港
  • 2021-11-23 20:52
Java中,状态模式和策略模式的区别
最佳答案
  • 五星知识达人网友:过活
  • 2021-11-23 21:39
FourteenthYearMonthDay fymd = new FourteenthYearMonthDay();

System.out.print("Input the year:");
year =fymd.input();
System.out.print("Input the month:");
month = fymd.input();
System.out.print("Input The Day:");
day = fymd.input();
我要举报
如以上回答内容为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
点此我要举报以上问答信息
大家都在看
推荐资讯