20170105问题解析请点击今日问题下方的"[Java每日一题]20170106"查看(问题解析在公众号首发,公众号ID:weknow619) package Jan2017; public class Ques0106 { public void method01(String... strings, int num){ } public void method02(String... strings, int... is){ } } 今日问题: 以上两个方法使用了变长参数,请问这…
20170104问题解析请点击今日问题下方的"[Java每日一题]20170105"查看(问题解析在公众号首发,公众号ID:weknow619) package Jan2017; import java.util.ArrayList; import java.util.List; public class Ques0105 { public static void main(String[] args) { List<String> list = new ArrayList…
20161230问题解析请点击今日问题下方的"[Java每日一题]20170103"查看(问题解析在公众号首发,公众号ID:weknow619) package Jan2017; public class Ques0103 { public static void main(String[] args){ System.out.println(delete("你好", "你").equals("好")); System.out…
刚考过了AWS的developer认证,顺手做了一下SysOps的样题.以下是题目和答案. When working with Amazon RDS, by default AWS is responsible for implementing which two management-related activities? (Pick 2 correct answers) A. Importing data and optimizing queries B. Installing and pe…
最近在准备AWS的开发人员考试认证.所以特意做了一下考试样题.每道题尽量给出了文档出处以及解析. Which of the following statements about SQS is true? Messages will be delivered exactly once and messages will be delivered in First in, First out order Messages will be delivered exactly once and mess…
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); List<Student> students = new ArrayLi…
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问题解析) 题目原发布于公众号.简书:[Java每日一题]20161227,[Java每日一题]20161227 注:wek…
package Dec2016; public class Ques1226 { static{ num = 1; } public static int num = 2; public static void main(String[] args) { System.out.println(num); } } 今日问题: 请问主程序输出结果是什么?(点击以下"[Java每日一题]20161226"查看20161223问题解析) 题目原发布于公众号.简书:[Java每日一题]20161…
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); } if (args.length > 0) { System.out.println(…
题目链接 http://acm.hdu.edu.cn/showproblem.php?pid=5992 Problem Description There are N hotels all over the world. Each hotel has a location and a price. M guests want to find a hotel with an acceptable price and a minimum distance from their locations.…