java吧 关注:1,271,187贴子:12,780,511
  • 2回复贴,共1

【新手疑问】

只看楼主收藏回复


Multiple markers at this line
- Cannot use super in a static context //为什么super不能在静态环境下使用
- Cannot make a static reference to the non-static field
department
还有,比如在父类定义了一个静态方法,那么在子类中就不能修改该静态方法了吗?


1楼2013-05-10 16:56回复
    在线等


    2楼2013-05-10 17:58
    回复
      2025-07-26 14:38:49
      广告
      不感兴趣
      开通SVIP免广告


      3楼2013-05-10 17:59
      回复