was something unheard of
was by no means a rare occurrence
attracted a lot of public attention
began to appear in analysts’ data
第1题:
Because ________ bad weather we had to have our physical education class in the classroom.
A、of
B、it was
C、of the
D、the
第2题:
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
第3题:
A by means of
B in terms of
C with regard to
D in line with
第4题:
China is a wonderful place and there is()to see and enjoy.
第5题:
数组data[m]为循环队列的存储空间,front为队头指针,rare为队尾指针,则执行入队的操作为()
第6题:
现有: interface Data {public void load();} abstract class Info {public abstract void load();} 下列类定义中正确使用Data和Info的是哪项?()
第7题:
to make something less
to make something better
to make something more
to make something cleaner
第8题:
rare=rare+1
rare=(rare+1)%(m-1)
rare=(rare-1)%m
rare=(rare+1)%m
第9题:
unless
when
until
while
第10题:
to tell something to a lot of people
wanting to know about something
a programme on the radio or on TV
to make air, water, soil, etc dirty
第11题:
look for it
put it in place
postpone it
cancel it
第12题:
public class Employee implements Info extends Data { public void load(){/*dosomething*/} }
public class Employee extends Inf.implements Data{ public void load() {/*do something*/} }
public class Empl.yee implements Inf extends Data{ public void Data.1oad(){* do something*/} public void load(){/*do something*/} }
public class Employee extends Inf implements Data { public void Data.1oad() {/*do something*/) public void info.1oad(){/*do something*/} }
第13题:
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。
第14题:
阅读以下说明和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) ;}
}
第15题:
Something important has come up.This sentence means something important happens unexpectedly.
第16题:
If you want to learn something, you had better pay()in class.
第17题:
interface Data { public void load(); } abstract class Info { public abstract void load(); } Which class correctly uses the Data interface and Info class?()
第18题:
public class Parent { public int addValue( int a, int b) { int s; s = a+b; return s; } } class Child extends Parent { } Which methods can be added into class Child?()
第19题:
was something unheard of
was by no means a rare occurrence
attracted a lot of public attention
began to appear in analysts’ data
第20题:
I began to understand it
it cheered me up
I knew it grew light
it began to get dark
第21题:
unless
when
until
while
第22题:
Select the block that contains the data to appear in the pie chart.
Select the table that contains the data to appear in the pie chart.
Select the view that contains the data to appear in the pie chart.
Nothing. The wizard will automatically create the pie chart based on the highlighted data.
第23题:
public class Employee extends Info implements Data { public void load() { /*do something*/ } }
public class Employee implements Info extends Data { public void load() { /*do something*/ } }
public class Employee extends Info implements Data { public void load() { /*do something */ } public void Info.load() { /*do something*/ } }
public class Employee implements Info extends Data { public void Data.load() { /*dsomething */ } public void load() { /*do something */ } }
public class Employee implements Info extends Data { public void load() { /*do something */ } public void Info.load(){ /*do something*/ } }
public class Employee extends Info implements Data{ public void Data.load() { /*do something*/ } public void Info.load() { /*do something*/ } }
第24题:
to bring a group of people together in one place for a particular purpose
to make a public or official statement, especially about a plan, decision
to produce many copies of a book, magazine, or newspaper
not to take part in an event or not to buy or use something as a protest