package students;
import java.util.*;
public class p1 {
private int n1 = 2;
int n2 = 3;
protected int n3 = 5;
public int n4 = 7;
}
package students1;
class abc extends students.p1 {
public static void main( String args[]) {
abc obj = new abc();
System.out.println(obj.n4);
System.out.println(obj.n3);
}
}
这是我的代码,但它在包语句中给出了错误类接口或枚举