Four weeks of Java learning has passed, this semester the new programming language teachers to flip the new teaching methods are a new challenge and learning process. Four weeks also learned the contents of four chapters, the first three chapters and C language has a lot of similarities, after the previous semester on the C learning comprehension of the first three chapters is not difficult, the fourth chapter of the class and object is a very important chapter of course also has a certain degree of difficulty, the teacher in the Thursday Friday classroom also on the first four chapters of the content I've talked a lot of exercises. Weekend to the fifth chapter of the content through the slide has a certain learning understanding.
Inheriting it is a mechanism for building new classes with existing classes. When a new class is defined to inherit a class, it inherits the methods and fields of the class, and new methods and fields are added to the new class to accommodate the new situation. It is a core technology in Java programming and one of the object-oriented features. It has two characteristics that have hierarchies and subclasses that inherit the domain and methods of the parent class. Four advantages: The reusability of the ① code ② can easily customize the domain and methods of the subclass ③ parent class to be used for subclasses. ④ makes designing applications easier.
For an existing class called a superclass, a base class, or a parent class. The new class is called a subclass, a derived class, or a child class. In general, sub-analogy super-class has more features to enrich. Super It is a unique keyword. The method used to call the superclass and the constructor that calls the superclass. Multiple inheritance is not supported in Java. Dynamic binding refers to running a binding. The 45th chapter of the content also need to strengthen learning. Don't give up easily!
201671010110 2016-2017-2 "Java Programming"