I have learned a little experience in using Java

zhaozj2021-02-17  70

At the beginning of 2002, Java development project was applied because of the company's business needs and applied Java development projects. Due to the tight project time, there is no abundant time system to learn Java. For Java learning, it can only be used. What to learn, this kind of learning method is fast, but not solid, in the future work, because Java learned Not solid, have a lot of suffering. Now I have learned Java for a year and a half, and I have a certain experience for Java, write my experience, for users to share.

With my personal experience, learn Java should be divided into the following stages:

Java's grammatical learning to establish an object-oriented concept of the Java basic class library learning design mode application design mode After a lot of practice, you can design a mode

The above six phases, where the top three stages are for Java, but in Java, in many design patterns, there are many features support design patterns, so people who don't understand design patterns will not apply Java. Java Do develop. On the basis of study, learning, application, successful experience in the first three phases of learning. Thus, enter the sixth phase, playing in software design. I am limited by the ability, and the learning process in the 4th phase, so it will be explained in the first four stages. The fifth, six stages is just in the inferoration of my own knowledge, there is no experience that I have not explained.

I will talk about my learning method before explaining these learning phases. When learning new knowledge, I usually follow the following three phases.

Theoretical learning. Through the learning of theory, try to understand the concept of new knowledge; after learning, it is just a rough understanding of concept, can't be combined with practical. Deductive stage. According to the knowledge of theoretical learning, consider what this new knowledge can be applied, which places have applied this concept to establish the sensibility of new knowledge. The induction phase. Understand theory from a deeper level.

The following describes my experience according to Java's six learning phases, and every stage will be discussed in three small stages in accordance with theoretical learning, interpretation and summarization.

Java grammar learning

The theoretical learning phase of grammar learning is the easiest stage. It is the Java grammar, and it is possible to read it, mainly to understand the following: (1) Data type, mainly understood: (1) Data type, (2) Operators, (3) control flow, (4) class and classes, (5) packets and interfaces, (6) abnormal operations.

In theoretical learning phase, it is not necessary to pay too much attention to details. As long as there is a holistic understanding of Java's basic syntax, you can read the source code of the example.

The next step is the interpretation phase, the syntax knowledge learned, writing simple procedures. It is best to use your own memory to use the grammatical points (write code is best to use notepad), to re-read the syntax you are not familiar with, and use the compiler to check the syntax error. The goal of this phase is to detach the book and the Java API can write a simple program, and read a Java source code can tell the execution results.

Complete this stage of learning, participate in the SCJP exam, you should get a higher grade.

On the basis of the interpretation stage, according to the mistakes you have made, I summarize the difficulties of Java. Re-reading the grammar, reintegration of some of themselves not very clear, then your understanding of Java grammar is deeper than the first reading.

When I first started learning Java, just roughly see the syntax, I started the program. I met the grammar books, which, I can become a qualified programmer, but when I became Team Leader. In order to train the membership Java programming, they found that they were separated from the Java grammar book and the Java API, there would be no more (Java integrated development tool has a prompt function), for training, I re-learned Java syntax, very harvest . In fact, an excellent programmer must not only write a good program, but more importantly, it can be said to the procedure written: (1) Say the function of the program (2) to clear the structure of the program. And the basis of the structure of the program is to be familiar with the syntax of Java. I want to become an excellent programmer, be sure to practice, constantly, constantly summarize, and finally out of the syntax book, clear the Java grammar system.

(Fail)

转载请注明原文地址:https://www.9cbs.com/read-30202.html

New Post(0)