// 20161229问题解析请点击今日问题下方的“【Java每日一题】20161230”查看(问题解析在公众号首发,公众号ID:weknow619)
package Dec2016; public class Ques1230 { int array = {1, 2, 3}; // 1 int array[] = {1, 2, 3}; // 2 int[] array = {1, 2, 3}; // 3 int array[] = new int{1, 2, 3}; // 4 int array = [1, 2, 3]; // 5 }
今日问题:
请问主程序输出结果是什么?(点击以下“【Java每日一题】20161230”查看20161229问题解析)
题目原发布于公众号、简书:【Java每日一题】20161230,【Java每日一题】20161230