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