qq_M丶T_0
2018-04-10 18:58
book类:
public class books {
int sequence;
int name;
public void books(int sequence,String name) {
}
}
测试函数:
public class function {
public static void main(String[] args) {
// TODO Auto-generated method stub
books[] bb={1,"高数"};
到了这里一直提示错误,值传不进去。求解
books[] bb={new books(1,"高数")};
Java入门第三季
409792 学习 · 4340 问题
相似问题