`
weknow619
  • 浏览: 62793 次
  • 性别: Icon_minigender_1
  • 来自: 广州
社区版块
存档分类
最新评论
文章列表
20161230问题解析请点击今日问题下方的“【Java每日一题】20170103”查看 package Jan2017; public class Ques0103 { public static void main(String[] args){ System.out.println(delete("你好", "你").equals("好")); System.out.println(delete("$好", "$").equals ...
20161229问题解析请点击今日问题下方的“【Java每日一题】20161230”查看 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 } 今日问题: 请问主程序输出结果 ...
20161228问题解析请点击今日问题下方的“【Java每日一题】20161229”查看 package Dec2016; import java.util.ArrayList; import java.util.List; public class Ques1229 { public static void main(String[] args){ Student stu01 = new Student("001"); Student stu02 = new Student(null); L ...
20161227问题解析请点击今日问题下方的“【Java每日一题】20161228”查看 package Dec2016; import java.util.ArrayList; import java.util.List; public class Ques1228 { public static void main(String[] arg){ Student stu01 = new Student("001"); Student stu02 = new Student("001 " ...
20161226问题解析请点击今日问题下方的“【Java每日一题】20161227”查看 package Dec2016; public class Ques1227 { public static void main(String[] args){ } { c = 1; } int c = 2; int a = b; int b = 3; } 今日问题: 请问主程序输出结果是什么?(点击以下“【Java每日一题】20161227”查看20161226问题解析) 题目原发布于公众号、 ...
20161223问题解析请点击今日问题下方的“【Java每日一题】20161226”查看 package Dec2016; public class Ques1226 { static{ num = 1; } public static int num = 2; public static void main(String[] args) { System.out.println(num); } } 今日问题: 请问主程序输出结果是什么?(点击以下“【Java每日一题】2016 ...
20161222问题解析请点击今日问题下方的“【Java每日一题】20161223”查看 package Dec2016; public class Ques1223 { public static void main(String[] args){ Integer obj = Integer.valueOf(args[args.length - 1]); int i = obj.intValue(); if (args.length > 1) { System.out.println(i); ...
20161221问题解析请点击今日问题下方的“【Java每日一题】20161222”查看 package Dec2016; import java.util.Random; public class Ques1222 { public static void main(String[] args){ System.out.println("输出常量:"+Test.NUM); } } interface Test{ public static final float NUM = new Random().nextFl ...
20161220问题解析请点击今日问题下方的“【Java每日一题】20161221”查看 package Dec2016; public class Ques1221 { } class Parent{ public void test(){ System.out.println("Parent test"); } } class Sub extends Parent{ public String test(){ System.out.println("Sub test ...
20161219问题解析请点击今日问题下方的“【Java每日一题】20161220”查看 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(Intege ...
20161216问题解析请点击今日问题下方的“【Java每日一题】20161219”查看 package Dec2016; import java.util.Arrays; public class Ques1219 { public static void main(String[] args) { int num = 2; Dog[] dogs01 = new Dog[num]; // dogs01中有两只狗 for(int i = 0; i < num; i++){ ...
20161215问题解析请点击今日问题下方的“【Java每日一题】20161216”查看 package Dec2016; import java.util.ArrayList; import java.util.List; public class Ques1216 { public static void main(String[] args) { List<String> list01 = new ArrayList<String>(); List<Integer> list02 = ...
20161214问题解析请点击今日问题下方的“【Java每日一题】20161215”查看 package Dec2016; public class Ques1215 { static final int num1 = 2; static final int num2 = 3; static int num3 = 2; static int num4 = 3; public static void main(String[] args){ int result1 = num1 * num2; // 1 ...
20161213问题解析请点击今日问题下方的“【Java每日一题】20161214”查看 package Dec2016; import java.util.ArrayList; import java.util.List; public class Ques1214 { public static void main(String[] args){ final List<String> tickets = new ArrayList<String>(); for(int i = 0; i < 10 ...
20161212问题解析请点击今日问题下方的“【Java每日一题】20161213”查看 package Dec2016; public class Ques1213 { public static void main(String[] args){ String str1 = "编程"; String str2 = "编程"; String str3 = new String("编程"); String str4 = str3.intern(); ...
Global site tag (gtag.js) - Google Analytics