Java programming those things 15-how to learn Java syntax Author: Chen yuefeng from: http://blog.csdn.net/mailbomb
Chapter 3 Basic Java syntaxTo learn a programming language, you must first learn the format of the language, which is the syntax of the language. Syntax is the most boring part for beginners to learn programs, because the syntax part requires too much memory and a lot of knowledge. For those who have been familiar with other programming languages, the speed of Learning grammar is extremely fast, mainly because many concepts involved in the syntax have been understood, and the syntax formats of most languages are similar. This chapter introduces the basic syntax of the Java language in detail, hoping to learn the syntax format of the Java language through this chapter.
3.1 How to Learn Java syntaxFor beginners, learning Java syntax is a long-term and arduous process. Therefore, they must be prepared to endure hardships, and the learning of syntax will deepen their understanding of the language, but I realized more clever designs. Syntax format is only the most basic knowledge for learning programs. In actual development, you need to use the appropriate format to implement program logic according to the needs of the program. Therefore, you must be proficient in syntax. There are three main ways to learn grammar: l it is the most ideal way to learn grammar based on understanding. It is easy to learn grammar through this way, in addition, the use of the syntax is very accurate. In this way, you need to have a deep understanding of the functions of the syntax at the early stage of learning, and understand the implementation format of the syntax when the syntax is applied. However, in actual learning, because beginners have not been involved in development, many concepts cannot be deeply understood, so many people cannot use this method for learning. L to understand and use this method based on memory, first remember the syntax format, and then gradually understand the usage of the syntax in memory and subsequent exercises, this is also the way most beginners learn grammar. By learning the syntax in this way, you can become a qualified programmer after certain training. L memorizing this method based on uncomprehension is the most clumsy way to learn grammar, and many students who are hard-working but cannot understand the syntax format. In fact, this method does not really understand the syntax format, but simply memorize it. In many cases, these formats cannot be used flexibly, therefore, the learning effect is also discounted. When learning the syntax, you need to learn and understand the following content: l the syntax format must be remembered, and the code writing speed can be improved after memorizing. L syntax concepts understand related syntax concepts, such as variables, methods, arrays, etc. L a large number of exercises deeply understand the use of grammar through a large number of exercises. I have introduced so much about grammar learning. Now I will start to learn about the world of cleverly designed Java syntax.