题目内容

下面程序运行的结果是( )class Demo{public static void main(String[] args){int x = 100;try{x = div(1,2);}catch(Exception e){System.out.println(e);}System.out.println(x);}public static int div(int a,int b){return a / b ;}}

A. 输出1;
B. 输出0;
C. 输出0.5
D. 编译失败;

查看答案
更多问题

In France you are expected to shake hands with everyone you meet.

A. 对
B. 错

People in Britain shake hands just as much as people in Germany.

A. 对
B. 错

In France people consider it important to discuss business during meals.

A. 对
B. 错

It is not polite to insist on paying for a meal if you are in Italy.

A. 对
B. 错

答案查题题库