Which are syntactically valid statement at//point x? class Person { private int a; public int
Which are syntactically valid statement at//point x?
class Person {
private int a;
public int change(int m) { return m; }
}
public class Teacher extends Person {
public int b;
public static void main(String arg[]) {
Person p = new Person() ;
Teacher t = new Teacher();
int i ;
// point x
}
}
A.i=m; B.i=b;
C.i = p.a; D.i = p.change(30);
E.i = t.b;