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.