black

SCJP程序员认证考试

登录

多项选择题

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.

相关考题

多项选择题 Whichofthefollowingfragmentsmightcauseerrors?()

单项选择题 Whichstatementofassigningalongtypevariabletoahexadecimalvalueiscorrect?()

多项选择题 Whichdeclarationsofidentifiersarelegal?()

All Rights Reserved 版权所有©建筑考试题库(jzkao.com)

备案号:湘ICP备2020024380号-3