摘要: *************** Java OOP 基 础 语 法 总 结 ************************* 1,类与对象1),类(class)是相同属性和方法的一组集合。 A,类的组成:属性和方法。 B,语法声明:使用class关键字,eg:public class Student{}//类名首字母大写,且必须和文件名一致 C,类的实例化:使用new关键字,eg:Student ... 阅读全文
posted @ 2016-08-28 22:51 Azhi丶安之 阅读(776) 评论(1) 推荐(0) 编辑