摘要:
package baozhuanglei; public class IntTest { public static void main(String[] args) { //创建一个Integer对象 Integer i=new Integer(233); //转换成十进制 Integer i1=Integer.valueOf ("100",2); ... 阅读全文
摘要:
package zuizhong; public class Dict { DicItem[]dict=new DicItem[5]; class DicItem{ String en; String ch; public DicItem(String en, String ch) { super(); this.en =... 阅读全文
摘要:
package boa; import java.util.Scanner; public class TestSystem { public static void main(String[] args) { //方法1;输出 //方法2:退出jvm System.exit(0) //方法3:数组复制arraycopy() //方法4:获得当前的系统时间;l... 阅读全文
摘要:
package zuizhong; public class Test5 { public static void main(String[] args) throws Exception { try { int s=divide(100, 0); } catch (Exception e) { throw e; } ... 阅读全文