was something unheard of
was by no means a rare occurrence
attracted a lot of public attention
began to appear in analysts’ data
第1题:
A、a set of
B、a lot of
C、a series of
第2题:
Because ________ bad weather we had to have our physical education class in the classroom.
A、of
B、it was
C、of the
D、the
第3题:
A. fond of
B.interest in
C. appear to
D. appeal to
第4题:
A by means of
B in terms of
C with regard to
D in line with
第5题:
In the 1940s,classroom violence______.
A.was something unheard of
B.was by no means a rare occurrence
C.attracted a lot of public attention
D.began to appear in analysts" data
第6题:
There is a truck ______ the classroom.
A、in the front of
B、 in front of
C、in front
D、at the front of
第7题:
public class Something {
public static void main(String[] args) {
Something s = new Something();
System.out.println("s.doSomething() returns " + doSomething());
}
public String doSomething() {
return "Do something ...";
}
}
看上去很完美。
错。看上去在main 里call doSomething 没有什么问题,毕竟两个methods 都在同一个
class 里。但仔细看,main 是static 的。static method 不能直接call non-static methods。可改
成"System.out.println("s.doSomething() returns " + s.doSomething());"。同理,static method 不
能访问non-static instant variable。
第8题:
12.
A.lot of
B. few
C. a little
第9题:
阅读以下说明和Java程序,将应填入(n)处的字句写在对应栏内。
[说明]
下面程序输出一个矩形面积,以及矩形区域上的假想的作物产量。
[Java程序]
public class MainJava {
public static void main(String[] args){
Lot_size small=new Lot_size();
Lot_size medium=new Lot_size();
small.set(5,5,5,25);
medium.set(10,10,10,50);
System.out.println("For a small lot of area"
+small.get_area()+"\n");
System.out.println("the actual crops are $"
+small.get_data2()+"\n");
System.out.println("and ideal crops are $"
+small.get data()+"\n");
System.out.println("For a medium lot of area"
+medium.get_area()+“\n”);
System.out.println("the actual crops are $"
+medium.get_data2()+"\n");
System.out.println ("and ideal crops are $"
+medium.get_data()+"\n");
}
}
class Crop_assessment{
private int actual_crop;
private int ideal_crop;
public void set(int in_actual,int in ideal){
actual_crop=in_actual;
ideal_crop=in_ideal;
}
public int get_actual_crop(){return (1) ;}
public int get_ideal_crop()(return (2) ;}
}
class Lot_size{
private int length;
private int width;
private Crop_assessment crop= (3) ;
public void set(int 1,int W,int a,int i){
length=1;
width=W;
crop.set(a,i);
}
public int get_area(){return length*width;}
public int get_data()freturn (4) ;}
public int get_data2()(return (5) ;}
}
第10题:
Something important has come up.This sentence means something important happens unexpectedly.