第1题:
method condensed preparation method
第2题:
有一个接口定义如下,下列选项中实现了该接口并且不是抽象的是( )。interface A{ int method1 (int i); int method2 (int j);}
A.class B implements A{ int method1() { } int method2() { }}
B.class B{int method1(int i) { }int method2(int j) { }}
C.class B implements A{ int methodl(int i) { } int method2(intj) { }}
D.class B extends A{int method1(int i) { }int method2(int j) { }}
第3题:
A. the guided discovery method
B. the cognitive method
C. the discovery method
D. the guided method
第4题:
在Java语言中,包pack1的类class1中有成员方法: protected void method_1(){„}, private void method_2() {„}, public void method_3() {„} 和 void method_4() {„}, 在包pack2中的类class2不是class1的子类,你在class2中可以调用方法()。
第5题:
指出下面哪一项是在抽象类中声明一个抽象方法。( )
A.public abstract method();
B.public abstract void method();
C.public void abstract Method();
D.public void method(){abstract;}
第6题:
A、the discovery method
B、the cognitive method
C、the guided method
D、the guided discovery method
第7题:
类Test定义如下,将下列哪个方法插入③行处是不合法的( )?
① public class Test{
② public float Method(float a,float B) { }
③ ______
④ }
A.public float Method(float a,float b,float C) { }
B.public float Method(float c,float d){ }
C.public int Method(int a,int B) { }private float Method(int a,int b,int C) { }
D.private float Method(int a,int b,int C) { }
第8题:
A.class B implements A{ int method1(){} int method2(){} }
B.class B { int method1(int i){} int method2(int j){} }
C.class B implements A{ int method1(int i){} int method2(int j){} }
D.class B extends A{ int method1(int i){} int method2(int j){} }
第9题:
第10题:
Which two CANNOT directly cause a thread to stop executing?()