本题定义了一个求两个数的最大值的方法max,并调用该方法计算67和23的最大值。 public class javal{ public static void main(String[]args){ javal temp=new javal; int res=max(67,23); System.out.println('res='+res); } static int maX( ){ int maxNum; if(a>b) ; else maxNum=b; ; } }
拍照语音搜题,微信中搜索"皮皮学"使用
参考答案:
参考解析:
知识点:
皮皮学刷刷变学霸
举一反三
【简答题】选词填空。 (A is near the bank.) A: 1 , madam. 2 tell me the way to the bus station? B: Sure, 3 at the 4 crossing. Then 5 the bridge. You’ll see a park and then 6 . 7 No.1 Street. The bus station is 8 the ...
【判断题】The Qiantang River Bridgeis comprised of its main body and the bridge approach, stretching a distance of 1,453 meters. The upper layer of the bridge is a highway and the layer below is a railway.
【简答题】听对话,回答问题。 1. Why was Einstein standing on the bridge? A. He was thinking about a problem. B. He was talking something with his friends. C. He was waiting for a friend of his. 2. When did it begin to r...