题目内容

Tourists may go boating in the reservoir if the guide is around.

A. 对
B. 错

查看答案
更多问题

接口A的定义如下,指出下列哪些类实现了该接口______。Interface A { Int method1 (int i); Int method2 (int j);

A. class
B. implements A { Int method1(){} Int method2(){} } B.class B extends A { Int method1(int i){} Int method2(int j){} }
C. class B { Int method1(int i){} Int method2(int j){} }
D. class B implements A { Int method1(int i){} Int method2(int j){} }

阅读下面程序public static void main (String[] args){System.out.printIn (34+56-6);System.out.printIn (26*2-3);System.out.printIn (3*4/2);System.out.printIn (5/2);}程序运行结果是____。 A.844962 B.902562.5 C.8423122 D.6849142.5

请阅读下面程序public class OperatorsAndExpressions {void residual(){int i=100.j=30;float m=563.5f,n=4.0f;System,out.printIn (i%j);System, .out.printIn (m%n);}public static void main (String args[]){OperatorsAndExpressions OperAndExp=new OperatorsAndExpressions();//取模运算在整数和浮点数中的应用OperAndExp.residual();}}程序运算结果是____。 A.103.5 B.202.5 C.104.5 D.-203.5

阅读下面程序public class Increment{public static void main (String args[]{int c;c=5;System.out.printIn(c);System.out.printIn(c++)jSystem.out.printIn (c);}}程序运行结果是____。 A.566 B.556 C.677 D.666

答案查题题库