Several key methods for learning java well!

Source: Internet
Author: User

Everyone who walks into the Java World wants to learn java well. How can they learn java well? This is a question that will be raised by beginners. Here are some ways to help you learn Java:

1) more hands-on
Learning programming not only requires learning in theory, but also requires more hands-on and practice, and more examples of your own. Use practical conclusions to demonstrate your thoughts.

2) multiple brains
The learning of Java is not only about the language itself, but also about the process of establishing object-oriented ideas, from the very beginning, we suggest you try to treat every thing you are in contact with this object-oriented way of thinking.

3) Multi-query API documentation
The learning process of Java is not only about the basic syntax, but also about learning and mastering the API class libraries it provides. For the classes and methods involved, read the instructions in the document carefully.

4) Restrict yourself and standardize coding habits
Developing good coding habits is of great significance to a programmer. On the one hand: Good Programming habits can actively avoid some human errors in the coding process; on the other hand: the writing quality of a program is not only a functional implementation, what's more important is readability and maintainability.

5) Use a meaningful name to identify the name
A name is an identifier and a simple expression with connotation.

6) Add a proper amount of comments
Reasonable comments can not only beautify the program, but also improve the readability and maintainability of the program.

7) Believe in yourself
There are two aspects: believe in your own abilities and believe that you have the ability to solve problems. Second, believe in your answers. Few programmers successfully write the code once. Only through continuous debugging and correction can they compile really good code.

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.