摘要:
public class Test { public static void main(String[] args) { Integer[] a = {1,2,3}; Integer[] b = {4,5,6}; Integer[] c = new Integer[a.length+b.length]; Sys... 阅读全文
摘要:
import java.util.ArrayList; import java.util.Date; import java.util.List; import net.sf.json.JSONObject; public class Test { public static void main(String[] args) { Mybean bean = new Test().new... 阅读全文
摘要:
import org.apache.commons.beanutils.BeanUtils;public class Person { private String name; public String getName() { return name; } public void setName( 阅读全文
摘要:
//LinkedHashMap先入先出 public class Test { public static void main(String[] args) { Map map = new HashMap(); map.put("aaa", "111"); map.put("bbb", "222"); map.put("ccc", "333"); for(Entry e :map.entryS... 阅读全文
摘要:
public static void main(String[] args) throws IOException { System.out.print("Enter a number:"); Scanner in = new Scanner(System.in); boolean availabl 阅读全文