Introduction to the object of Java programming thought first chapter book excerpt and Comment

Source: Internet
Author: User
  1. Five elements of a successful object-oriented language

1.1 above the main two points to note, the first is the discussion object, is actually the discussion of the relationship between classes, mainly including the relationship between classes, visibility, referential relationships. When creating an instance of a class as an object, the main consideration is the effect of the order in which messages are sent between objects, and finally the logical meaning of the program is generated.
1.2 The second consideration is the problem of polymorphism in the acceptance of the message, which is mainly the dynamic binding problem, the dynamic binding is mainly the aspect object-oriented programming process, realizes the more graceful calling code and the powerful function.

2 class object Domain method modifiers

2.1 It is important to note that only the default public inheritance in Java is in the way.
Several nouns are explained below:

Several articles were summarized below,

Http://www.cnblogs.com/snowdrop/articles/2143194.html
http://blog.csdn.net/yan8024/article/details/6426451

Feel still need to read first, in reverse summarize the following, the effect will be very good, the first chapter has a lot of not written up, such as Java object Heap mechanism, look at Java before the best C, C + + Some understanding, Java did optimize a lot of features, but I am not a particular language of the death of loyalty, arguing this also meaningless , but Java is really being enabled by more and more enterprise development

Personal feelings mainly have these aspects
1. Java portability is basically good enough to solve the problem of "debugging a development Everywhere"
2. Java's library integrity, Java EE SE ME provides a lot of very good library functions
3. Java is very rigorous in language, whether it is the developer program, or the test session Java is very good
4. Java exception mechanism, nothing to say.
5. Java strong community support, backed by trees good shade

Introduction to the object of Java programming thought first chapter book excerpt and Comment

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.