做一个学生选书的例子,可是为什么编译器报错了呢?
package com.collection;
import java.util.ArrayList;
import java.util.List;
public class ListTest {
public List BookToSelesct;
public ListTest(){
this.BookToSelect=new ArrayList();
}
}
刚写到这编译器就报错了,求原因??
package com.collection;
import java.util.ArrayList;
import java.util.List;
public class ListTest {
public List BookToSelesct;
public ListTest(){
this.BookToSelect=new ArrayList();
}
}
刚写到这编译器就报错了,求原因??
2017-02-12
举报