package Dec2016; public class Ques1220 { public static void main(String[] args) { Integer num1 = new Integer(100); Integer num2 = new Integer(100); compare(num1, num2); } public static void compare(Integer a, Integer b){ System.out.println(a == b); System.out.println(a > b); System.out.println(a < b); } }
今日問題:
請問主程序輸出結果是什麼?(點擊以下“【Java每日一題】20161220”查看20161219問題解析)
題目原發布於公眾號、簡書:【Java每日一題】20161220,【Java每日一題】20161220
注:weknow團隊近期開通並認證了分答,歡迎大家收聽,有問題也歡迎到分答來咨詢哦,回見您!!