Java learning is complex, mainly manifested in a series of related platforms, specifications and protocols. As experienced Java programmers know, it is difficult to develop applications only by mastering the Java language. This article does not discuss these complex concepts, but provides some insights and suggestions for the learning of the Java language from the perspective of beginners. This article is based on the following assumptions:
? The purpose of learning is to develop applications in the future, rather than conducting theoretical research on language.
? In the future, application development will be carried out on a mature platform, rather than from the underlying development platform.
Measure the test taker's knowledge about static methods and attributes.
Static methods and attributes are used to describe the features of a certain type of object group, rather than the features of a single object. Static methods and attributes are widely used in java. This is a common technique. However, this technique is not frequently used in many languages. Understanding static methods and attributes is very helpful for understanding the relationship between classes and objects. In a large number of java specifications, static methods and attributes are frequently used. Therefore, learners should understand static methods and attributes. Java is consistent in the call of methods and properties. The difference is only manifested in the declaration, which is different from c ++.
Pay attention to interfaces
Class inheritance is widely used in early object-oriented applications. With the continuous development of software engineering theory, people began to realize the many shortcomings of inheritance and began to try to replace inheritance with aggregation. An important principle for software engineering to solve scalability is abstract description. Interfaces are directly used as tools. Interfaces have gradually become the core of java programming methods in recent years. On the other hand, as far as applications are concerned, most development is based on specifications, and you do not need to build complex inheritance relationships and huge classes on your own ,. Therefore, reading and using the specifications has become the primary task for application developers.
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