There are two ways to learn Java programming. One is that you already know other languages, so Java is easy to learn,
Language is just a tool, programming ability is fundamental. The other is completely zero-based, inexperienced or ignorant of programming.
Today we’re going to look at the second group of people who are getting into Java programming, and how to learn it step by step.
As a beginner, we should cultivate good habits and ways of thinking at the beginning of our study. Therefore, in addition to learning to write code at the beginning, it is more important to develop the habit.
Enterprise requirements: programmers have actual combat skills can quickly get started, but also solid internal work familiar with the underlying principle of the full strength. Therefore, in the written test and the interview, the four aspects of “underlying principles, data structure, practical application and design thinking” were combined to conduct the investigation.
Therefore, as a beginner, you need to master the following five cores:
1. Application of JAVA content. For example: the literal use of some classes.
2. You need to master object-oriented thinking.
3. Master the running mode of the program based on the underlying memory. This will give you a deeper understanding of programming.
4. Master basic data structures and algorithms.
5. Be able to write projects at the beginning and integrate what you have learned.
So we can start with the above theory, JAVA foundation course learning.
Step 1: Learn the configuration of JAVA development environment and develop the first JAVA program. It is also recommended that you start using an IDE such as Eclipse and don’t bother to start with Notepad.
Step 2: Learn data types, operators, and variables. This is the foundation of programming, the “brick” of the program. Most programming languages have these things, and they are very similar.
Step 3: Learn control statements. This is the foundation of programming, the “concrete” of the program. With control statements + variables, you can in theory write any program you want. Therefore, this is the threshold to the program and requires a lot of practice.
Step 4: Learn object-oriented basics. This section explains basic concepts such as classes, objects, and packages. When learning, be sure to include memory analysis here, so that you can have a very deep understanding of objects and so on.
Step 5: Continue to be object-oriented, with three main features: inheritance, encapsulation, and concepts such as interfaces, abstract classes, and inner classes. These concepts need to be mastered. But for beginners, get familiar with the grammar first. Through the later study to further. Don’t expect to grasp these concepts when you first learn them.
Step 6: Exception mechanism. The security of Java programs requires exception mechanisms, which are a must learn. And, of course, very simple. Instead of focusing on custom exceptions, learn the basics.
Step 7: Arrays and algorithms. When learning about arrays, focus on managing arrays in conjunction with loops. We also need to understand arrays from the underlying memory, which is both an array and an object-oriented review; Combined with some algorithms, such as sorting and search algorithms, I practiced the use of arrays and learned the knowledge of algorithms, so as to prepare for the written examination and interview of enterprises.
Step 8: Read common classes and JDK source code. Learn how to use common classes: wrapper class, string related class, practice class, Math class, File class, etc. In the process of learning, just learn how to use the API to pass. To be excellent, to cultivate master thinking, must be combined with the JDK source code, the beginning of the habit of reading the source code (although, most may not understand).
Step 9: Containers and data structures. There are List, Set, and Map containers. Learning these three container uses only takes an hour or two. However, at this point you want to combine the data structure, combined with the JDK source code. This is the “master habit”, let everyone not only learn the container, but also learn the data structure, play a deep internal work, to deal with the enterprise interview more than enough.
Step 10: IO streaming technology. Learn a variety of common streams, and learn how to use a few utility classes, such as Apache IOUtil, so you can use them more efficiently in the future.
Step 11: Multithreading technology. This is also common in written tests and interviews. We will learn the basic use of multithreading, life cycle, state transition. If you can, learn the producer-consumer model to get you started with an architectural mindset. Since learning, according to the “high standards” of their own.
Step 12: Network programming. Work directly used not much, and socket programming paradigm is similar, you can understand. After all, it is rare that you are directly asked to write underlying socket-based code.
Step 13: Start a project. Learn so much, do not make a thing how to live up to their own? Whether it’s a small game project, whether it’s a Swing-based project, whether it’s any console project.
Follow the 13 steps I mentioned above to customize your learning path and schedule your learning time.
At the same time, you can also watch this set of Java introduction course on THE B station: [Java300 set zero foundation for beginners video tutorial _Java300 set zero foundation tutorial _Java beginner beginner video foundation consolidation tutorial _Java language introduction to master]], has millions of people in learning.
Basically runs through my above thoughts, there is knowledge, there is the bottom layer, there is data structure, there is algorithm, there is project, cultivate your “master thinking” from the beginning;
Generally speaking, the basic learning time of Java is mostly 1-2 months, and the centralized learning in a short time will be relatively boring. If you want to learn something in this period of time and be able to start small projects, you must calm down and devote yourself to learning and spend more time on relevant professional knowledge.
Java is simple, easy to design, easy to write, and therefore easier to compile, debug, and learn than any other Java. Java is object-oriented and is used to build reusable code in modular programs and other applications. Java is platform independent and portable for replication.
Java as the most popular programming language, in our life has been everywhere, whether computer software or mobile phone software, will need “Java”. If you want to learn The Java language, help you get into the industry as soon as possible!!
Thanks for watching.
The ~