摘要:
Lecture 2 Introduction to Java Machine language -->Assembly language --> High-level language A computer can execute the code in machine language. A pr 阅读全文
摘要:
面向对象三大特征:封装 继承 多态 封装:对象代表什么,就得封装对应的数据,并提供数据对应的行为 继承:java中提供一个关键字extends,用这个关键字,我们可以让一个类和另一个类建立起继承关系 public class Student extends Person{} Student子类 Pe 阅读全文