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).
2017-02-24
改成靜態類