Lab01
Lab 01 Assignment
Question 01
运行时截图
Question 02
基本类型
默认值
基本类型
默认值
byte
0
boolean
false
short
0
char
null
int
0
float
0.0
long
0
double
0.0
相关代码见\solution\Question 2目录下的q2.java。
Question 03
结果截图
相关代码见\solution\Question 3目录下的FindMinMax.java。
Question 04
程序输出截图如下
1234public static void main(String[] args) { boolean b = test1(0) && test2(2) && test3(2); print("b is " + b); }
首先调用test1 test1(0)的返回值为true
然后调用test2 test2(2)的返 ...






