How to teach yourself Java programming

Source: Internet
Author: User

For a programmer who is passionate about Java technology, as a novice in Java programming, there are a few key points you can take to stand out from the many Java developers.

1. Selection is important

As a beginner, it is very important to find a language that you like to use in your work. So, choose which programming language, as the beginning of their career, clear their future direction of development, is playing a big role. First build up confidence in self-reliance, in other words, take out the courage and perseverance of learning. Whether it is self-study or to participate in the training course, no matter what the way, first choose the direction, once identified the path, do not go back easily. A few days ago a small partner is trying to learn C + +, suddenly think C + + is not as fast as Java, and relatively few jobs, in C + + learned a lot, want to change the direction of Java, tangled a long time, and finally figured out, or insist on learning C + +, in fact, for beginners, The first thing to do is not the pursuit of breadth, the first to have a certain degree of strength later comprehend by analogy can be. It is the first place to be steadfast in your confidence and direction. So, do not tangle is to learn C + +, or Java, to see what interests you. And then decide what to learn.

The current software career direction more into the calf, then how to choose, the general direction or according to their actual situation, see your own professional situation, such as a lot of people like to do a mobile phone software so choose more simple, direct learning iOS or Android programming can be, a lot of people like games, Then choose the game-related language to learn, but also some of their own intentions are not so strong can choose the prospect of good cut, learning Java, PHP, IOS, big data related and so is a good choice. Choose good do not easy to change, programming finally decide how far a person can go, or the basis of programming, so set a direction to study the direction of the corresponding basic language, learn the language foundation, the late comprehensive project will let you emboldened a lot.

No matter what language you happen to encounter or choose, the key is to practice often. For Java programmers, a deep understanding of the concept of Object oriented programming (OO programming) is a must. Without a solid foundation of oops, you can't grasp the beauty of these object-oriented programming languages like Java. The definition of the OO principle of light learning is of little use, and the key is to learn how to apply these principles to design a solution in an oo way. Therefore, we should have a good understanding of object modeling, inheritance, polymorphism, design patterns.

2. Mastering the Core API

If you do not know the language structure and the core API, then even if you are in the theoretical knowledge of how to be tough is a single wood difficult to become a forest. In Java, we have a strong practical experience with core APIs such as java.lang.*, I/O, exceptions, collections, generics, threading, JDBC, etc. When it comes to web application development, JSP is a must, no matter how much you use the framework that is relevant to the servlet.

3. Prepare common code Snippets/utilities at hand

Sometimes we may need to copy and paste/write the same code snippet/configuration over and over again. Therefore, saving some configuration fragments such as log4.properties, JDBC configuration, and utilities such as StringUtils, Reflectionutils, dbutils is of great benefit. These things themselves may not make you different, but think about it, if your co-developer wants you to help him get a list of the property values from the object collection, and you just need to use reflectionutil to solve in a few minutes, is not suddenly stand out.

4. Understand the different development methods

Be familiar with different development methods, such as agile, SCRUM, XP, waterfall and so on. Now, it's up to the customer to decide which development method to choose. Some customers prefer agile, while others like the waterfall model. So it's absolutely impressive to be able to do all sorts of different ways.

5. It is important to practice multiple knock codes.

Choose a good learning Java Basic Language, there is a choice of a classic book, the introduction of books do not need too much, one or two is enough, to the real thoroughly understand. If it is really 0 basis, you can find a point on the internet to try to bring the introduction, can understand the contents of the video, began to return to the teaching materials, do not recommend the video learning. Have a general understanding of the theory, and then set out in the computer practice, a lot of people with the topic constantly in the brush, in fact, not the necessary, in the theory of the same situation, the corresponding after-class topic Independent in the computer can practice good enough, so repeated to do, take pains to do. \ I graduated from school in 2007, currently in a large state-owned enterprise as a Java driver, is committed to helping more novice learning programming, sharing video, hoping to help friends like Java. If you need any help, you can contact me qq:2878908695

How to teach yourself Java programming

Related Article

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.