1.protected 不能修饰类
public class NewTreeSet2 extends NewTreeSet{
NewTreeSet2 nts = new NewTreeSet2();
nts.count();
}
//protected 不能修饰 class
protected class NewTreeSet{
void count(){
for(int i = 0; i < 7; i++, i++ ){
System.out.println(i+" ");
}
}
}