Java Learning Fifth Week experience
This week, the fifth week of Java learning, with the passage of time, as the content of the text, the program we are exposed to become more and more complex, is no longer the two or three chapters of those used to practiced hand the small program, this point in our example running annotations can be felt, the length of the program, involving more and more knowledge.
This week's study focuses on the relationship between superclass and subclasses-inheritance, which is the most prominent feature of object-oriented, derives new classes (subclasses) from existing classes (superclass), and new classes can inherit the data properties and behaviors of existing classes, and can extend new capabilities. Java inheritance is the technique of building a new class using the definition of an existing class, and the definition of a new class can either add new data or new functionality, or use the functionality of the parent class, but not selectively inherit the parent class. The use of inheritance greatly reduces the repetition of the program, reduces the pressure of the programmer to compile the program, use it well, you can make your program concise and clear.
This week, the teacher led us to learn this chapter, while learning concepts, while practical examples, such a learning method I like, feel receptive to knowledge than blindly look at the concept of obscure faster and easier. But always feel a bit of difficulty in bridging the knowledge, this is what I owed in front of the account, some knowledge points smattering, and not in time to fill the excavation, accumulation of small problems more, receive new content also began to struggle, next week I intend to focus on reviewing the previous knowledge, fill vacancies.
201671010140.2016-2017-2 Java Program Fifth week of Java learning