问答详情
源自:-

这里出错了,怎么改?有大神帮忙不?谢谢

 int prevDays calendar.get(Calendar.DAY_OF_WEEK)-1;

Syntax error on token "prevDays", = expected after this token

提问者:傻科比 2017-06-18 15:31

个回答

  • 方块8
    2017-07-26 20:12:07

    少写了个人“=” 号, int prevDays = calendar.get(Calendar.DAY_OF_WEEK)-1;