Ten suggestions for learning java, hard work is very important, method is equally important

Learn Java from scratch, as long as the method is correct, you can still learn Java programming well. Learning Java is like making friends. It takes a lifelong process from unfamiliar to familiar to hard-core partner. With in-depth understanding, you will not only find that learning Java is not as boring and difficult as you think, but there are also some wonderful things. Sense; Of course, you can only feel it after having strong technology and excellent design ideas.

 

One, a thorough understanding of object-oriented

Object-oriented is the core of java programming and the idea of ​​programming. By our side,

The existence of every thing is an object. It can be summed up in one sentence: the object is the entity in which things exist. Here is a simple example. For example, a human being is an object, but the object has attributes and methods. Then height, weight, age, name, and gender are the characteristics of each person, which can be summarized as attributes. Of course, we will still Thinking, learning, these behaviors are equivalent to the methods of the object. It's just that different objects have different behaviors.

 

2. More hands-on, more practice, more code

Practice is the only criterion for testing theory. Only by typing more codes can you experience the beauty of the code, and you can continuously discover the advantages and disadvantages of programming languages ​​and solutions to problems. For beginners, the only way to improve code quality is to type more code. Even if it is a very simple problem, it must be implemented and run in code. This is the correct way to learn programming. You can't learn programming by looking at it. Only by practicing with your hands can you learn programming better.

 

3. Learn to take notes and write down your thoughts and inspirations

A good memory is not as good as a bad pen. When we are studying, you may have a flash of inspiration, have a particularly good idea and inspiration, or suddenly think about the same problem that has been bothering you. Use a pen to record it. If you want to use it, You can read it at any time, which is your growth diary. At the same time, you should also be a person who loves to share, share your experience and ideas on your forums and blogs, and help those in need. Resource sharing is the main force to promote technological progress.

 

Fourth, enter more forums and communicate more

Learning java is not a single person fighting, there are many people who are fighting on the same starting line just like you. It is not a real challenge to be able to use a framework to implement a simple program. When you truly become a software development engineer, you will find many strange and weird problems that you may not be able to solve by yourself. You need to rely on some people to provide you with them. The solution, even a few words, may help you out of the predicament. As a beginner, don't let go of an opportunity that may allow you to improve. Look for some good forums, ask if you don't understand, and solve one less problem, and you will continue to make progress. At the same time, you have to learn to share, and share your experience and ideas with those in need, not only can help them, but also consolidate your knowledge; knowing how to share is also a virtue.

 

5. Study with an open mind and receive effective guidance

Other people's guidance plays a vital role in learning programming. Effective guidance can help you avoid detours and improve yourself faster. Why excellent development engineers are paid high and play a pivotal role in the project, mainly because they can not only grasp the correct direction of project development, but also lead other members of the team to improve their own development level, which is what any company desires. It's also what the fledgling Java folks desire. The accumulation of these experiences cannot all come from textbooks. At the same time, the accumulation of contacts is also crucial. The accumulation of contacts can not only be transformed into accumulation of experience but also into accumulation of wealth.

 

Six, master the core API

Beginners to learn java, don’t look at the master, it’s easy to look at, but it’s difficult to do it, it’s easy to understand, and you don’t necessarily know how to do it; in the process of learning, you must not only master the theoretical knowledge, but also understand it, if you don’t understand the language that constitutes the core API Then everything is 0! For the Java language, you need to have very strong practical experience in its API, such as java.lang.*, IO, Exception (exception), Collections (collection), Generics (generic), Threads (thread), JDBC (Database connection) and so on. If you want to be an excellent program developer, no matter what type of framework you use, you must be familiar with Servlet and JSP

 

7. Always look for technical blogs and learn to read

There are many technical experts on the Internet who share their technical experience and programming experience through blogs. You only need to be diligent to discover and find the blogs you need, and read their technical articles every day. You can understand that different people have the same technology. They may argue over a certain function. You don’t need to pay attention to it. You can analyze various opinions when you "watch the game" and gradually form your own thoughts. Over time, you will clearly feel yourself. Improvements in program design.

 

Eight, often learn and read the source code of the open source framework

Qualified developers must first be able to use various frameworks flexibly, and if they want to be an excellent developer, they should continue to learn the source code of popular frameworks and keep reading, so that they can have a deep understanding of the internal mechanism of the framework, and It takes a lot of practice so that you can gradually enrich your own code design ideas and become a code creator rather than a code copyer.

 

Nine, useful codes and tools will bring us unexpected surprises

Nowadays, with the increasing popularity of software and the abundant resources of Java, some codes are destined to be reused. As your work experience accumulates, there may be more and more repetitive tasks, so you have to learn to organize and collect some commonly used codes. , In such as: log4j configuration file (log4j.properties), JDBC configuration, framework configuration, etc., as well as tools such as StringUtils (string tools), DBUtils (database tools), etc., this will give you Work brings great convenience, and sometimes taking a shortcut can save you a lot of trouble.

 

10. Understand the development direction of future technology

Ignore things outside the window and read only the sages’ books. In today’s Internet age, it’s inappropriate. As a software developer, if you can’t keep up with your technology, you can study it, but if your mind can’t keep up, you work hard. The product that has just been made is very likely to be behind, it is very likely that it is just a trivial small function. If the mind can't keep up, then you can't take the initiative, and you may be complained by the product manager that no function can be realized when the technology is backward. Therefore, while looking down at the code, we must open our ears to understand the direction of future technology development, so that we can stay ahead and remain invincible.

In short, Java is an easy-to-learn programming language, but if you want to learn it well, hard work is essential. To learn java, you must have full confidence in yourself, and constantly adjust your learning methods and attitudes

 

The road of the IT industry is certainly full of sunshine and beautiful scenery along the way, but it is also full of hardships and ruggedness. After breaking through the haze along the way, above the clouds, there must be a vast sea of ​​clouds.

 

At last


If you want to learn Java, I will share some Java learning materials with you. You don’t have to waste time searching everywhere. I have compiled all the materials from Java entry to proficiency. These materials are all made by me. The latest Java learning routes compiled in the year, Java written test questions, Java interview questions, Java zero-based to proficient video courses, Java development tools, Java practice projects, Java e-books, Java study notes, PDF document tutorials, Java programmers’ experience, Java job resume templates, etc. These materials will definitely help you learn Java in the future. It is a must for every Java beginner. Please enter my Java technology qq exchange group to download by yourself . All the materials are in the group. In the file, you need to communicate and learn more with you when you go in.

Guess you like

Origin blog.csdn.net/deqing271/article/details/115405205