Thread ac = new Thread(new Actoress(),"线程小姐");这样创建线程会报这个错 怎么办?
Thread ac = new Thread(new Actoress(),"线程小姐");这样创建线程会报这个错 怎么办? No 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).