201671010140.2016-2017-2 Java Program Fifth week of Java learning

Source: Internet
Author: User

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.