In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
Today, I will talk to you about the programming details that are easy to be ignored by original Java programmers, which may not be well understood by many people. in order to make you understand better, the editor has summarized the following contents for you. I hope you can get something according to this article.
Java is the general name of Java programming language and Java platform. If you want to learn a language well, the most important thing is to learn a new programming language than to learn a new oral language. However, in both learning processes, extra effort is required to learn to speak a new language without an accent.
If you are familiar with C or Clover, it is not difficult to learn the Java language, just like a Swedish speaker to learn Danish. Although the languages are different, they communicate with each other. But if you are not careful, your accent will reveal every time that you are not a native language speaker.
C++ programmers tend to make some modifications to Java code, which clearly distinguishes them from native Java language users. Their code can run without error, but for native language users, there is something wrong. As a result, native language users may despise non-native users. When moving from C or C++ (or Basic, Fortran, Scheme, etc.) to the Java language, you need to eradicate some idioms and correct some pronunciations in order to use the new language smoothly. In this article, I explore some Java programming details that are often overlooked because they are not important or even irrelevant in terms of semantics. They are purely a matter of style and practice. Some of the details have specious reasons, others don't even have plausible reasons. But all these details are real phenomena in the Java code written today.
What kind of language is this?
Let's first look at a piece of code that converts Fahrenheit to degrees Celsius, as shown in listing 1:
Listing 1. A piece of C code?
Float F, C; float min_tmp, max_tmp, x; min_tmp = 0; max_tmp = 300; x = 20; F = min_tmp; while (F
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.