Can I learn JAVA directly without C language foundation?

Do I still need to learn the C language before learning Java? From the following aspects, first of all, we will not talk about the characteristics of Java and C language itself.

From a historical point of view, although Java and C have some close relations, the bottom layer of Java is written in C, but from another perspective, the relationship between the two is not very big. The grammar is different, the language design is also different, and the field of expertise is also different, so you don't need to learn c before learning Java.

 

 

From another perspective, we know that c is more complicated. It is related to the position of c in the industrial field. And the special level and function represented by this language. Then Java has made some simplifications, although it has lost some flexibility. But it adds simplicity and convenience. The design is relatively pure, the language style is relatively fixed, and the style of the class library is relatively consistent. But these two languages ​​are mature languages ​​and have been used in the industrial field for many years.

 

For the average person, learning C is not an easy task, and it is easier to discourage the enthusiasm of beginners, so there is no need to learn C before learning Java. Of course, if you know c, it also has an advantage, which helps programmers understand many mechanisms of the programming language itself. Especially the object-oriented aspect. C is more complex and weak in robustness, requiring programmers to be extra careful.

From another perspective, the technical fields that Java and C are good at are different. Java is cross-platform, distributed, and has high security. It is good at server development with b/s structure. The class library of c language is very rich, running fast, flexible, and good at some desktop application and game development.

So you don’t need to learn c before learning Java programming . These are two programming languages ​​that are not very related, and the emphasis of these two languages ​​is different. This is like using a fruit knife to cut meat and a kitchen knife to cut. Fruit is not bad, it's just a little effort.

 

Of course, if you have enough skills, you can learn about c after learning Java. Java itself is relatively simple. After learning Java, it will be much easier to learn other programming languages, because the language itself is interlinked. .

 

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/115357059