True
False
1
0
第1题:
本题中定义了一个带有参数的构造方法javal,并定义了一个该类的对象temp。构造方法javal有两个参数:字符串name和整型age。定义对象temp时将字符串“Tom"和整数17传递给构造方法,构造方法将这两个参数打印输出。 public class javal{ String name; int age; public static void main(String[]args){ String name="Tom"; int age=17; javal temp = ; } public javal(String name, ){ ; this.age= age; System.out.println(name+"is"+age+" years old."); } }
第2题:
Tom is a_________ (health) boy.
第3题:
Tom is a 12’yearold boy. His father sells meat and has a big shop in the city center.The shop is quite (11) and there are many customers every day, Tom usually helps his father in the shop on weekends. He does .(12) work, for example, cleaning the floor and (13) meat onto the shelf(架子).One Saturday afternoon when there (14) any meat left on the shelf.Tom's father (15) him to carry some more from another room. Tom ran to the room quickly and(16) the meat was on a high shelf. He couldn't reach it, because he was too (17 ). 'What could he do? Tom thought (18) a moment and then he had a good idea. He took two boxes and put one on the top of (19) . Then he (20) 0n them.At last, he got the meat down!
( )11.
A.well
B.busy
C.quiet
第4题:
下列程序的执行结果是 public class Testff{ public static void main(String args[]){ String sl=new String("I am boy"); String s2=new String("I am boy"); System.out.println(sl==s2); } }
A.真
B.假
C.I am boy
D.都不正确
第5题:
顺序执行下列两条语句,输出结果是______。
String s="You are a pretty boy!";System.out.println(s.length( ));
第6题:
Which of the following underlined letters is different in pronunciation with others?
A. He arrived there half an hour late
B. Tom is the most honest boy in his class
C. I really hope to
D. It is a great honor for me to be here
第7题:
A、l
B、love
C、loveTom
D、Tom
第8题:
若有定义语句: int a=5; ,则表达式: a++ 的值是 【 6 】 。
第9题:
以下四组表达式中,结果是逻辑值.T.的是______。
A.'this'$'this is a string'
B.'this'$'THIS IS A STRING'
C.'this is a string'$'this'
D.'this'>'this is a string'
第10题:
以下4组表达式中结果是逻辑值.T.的是_________。
A.'this'$'this is a string'
B.'this'$'THIS IS A STRING'
C.'this is a string'S'this'
D.'this'>'this is a string'