摘要: package day03;//运算符演示public class OperDemo {public static void main(String[] args) {/* * 6.条件/三目运算符: * 1)语法: * boolean ? 数1 : 数2 * 2)执行过程: * 计算boolean... 阅读全文
posted @ 2015-08-03 22:24 夏子藤 阅读(122) 评论(0) 推荐(0) 编辑
摘要: int[] arr = new int[]{ 3,6,8,9 }; System.out.println(arr.length); int len = arr . length ; System.out.println("数组长度为:" + len); /*System.arraycopy方法用于... 阅读全文
posted @ 2015-08-03 22:09 夏子藤 阅读(117) 评论(0) 推荐(0) 编辑