【单选题】以下代码执行后的结果是: public class Test { public static void main ( String args [ ] ) { int x = 30 ; if ( x < 20 ) { System . out . print ( " 这是 if 语句 " ) ; } else { System . out . print ( " 这是 else 语句 " ) ; }...
【单选题】以下代码执行后的结果是 public class Person { String name = “小芳”; public Person(String name) { name = “小兰”; } public void show() { this.name = “小翠”; } public static void main(String[] args) { Person p = new Perso...
【单选题】以下代码执行后的结果是:( ) public class Person { private String name; public Person(String name) { this.name = name; } public Person() { this.name = "小兰"; } public static void main(String[] args) { Person p = ne...