实例化对象的方法报错
Actress actoress=new Actress();
actoress.setName("xxx");
actoress.start();
大佬们
为啥这样写报错呢 ?
The method setName(String) is undefined for the type Actress
Actress actoress=new Actress();
actoress.setName("xxx");
actoress.start();
大佬们
为啥这样写报错呢 ?
The method setName(String) is undefined for the type Actress
2019-01-27
举报