摘要: 数组: Int [] intArray = new int[6]; Int [][] intArray = new int[2][]; Int [][][] intArray = new int[2][][]; intArray[1][2][1] = 3; Int [ , ] myTable = n 阅读全文
posted @ 2017-01-11 23:47 D梦 阅读(318) 评论(0) 推荐(0) 编辑
摘要: 抽象类abstract: 抽象类和抽象方法可以用abstract关键字进行标识。就是没有完全定义的类或方法。所以不能直接实例化操作。 就因为他没完全定义所以不能用sealed关键字进行密封。 抽象方法不含程序主体: public abstract class Student { //抽象方法,不含程序体 public abstract void GetStudent... 阅读全文
posted @ 2017-01-11 21:04 D梦 阅读(357) 评论(1) 推荐(0) 编辑