问答详情
源自:2-3 Java线程-隋唐演义实战开发---演员简介

错哪了 大佬指点

http://img.mukewang.com/5d9fe4e4000109ac07850167.jpgNo enclosing instance of type Actor is accessible. Must qualify the allocation with an enclosing instance of type Actor (e.g. x.new A() where x is an instance of Actor).

提问者:窝窝头不要钱 2019-10-11 10:12

个回答

  • 慕斯7534182
    2019-10-17 11:03:00
    已采纳

    Actress类的位置错了

    应该放在Actor类的外面