Java Hello World

Source: Internet
Author: User

---restore content starts---

First write technology blog, yesterday just applied for success ~ ~ ~ do not know what technical blog to write something, simply record their own learning process and the problems encountered it, big and small can remember the good.

In the beginning, the novice learned Java for the first time, followed by the Gao Java Foundation 300 set of learning, yesterday wrote "Hello World"

1  Public class welcome{2      Public Static void Main (string[] args) {3         System.out.println ("Hello world!" ); 4     }5 }

Even though there were only 5 lines of code, it was just a hit .... However, the wrong one: the 3rd line of "println" written as "Pintln", and then in the compile time to see several times before discovering.

Another problem is that when you compile with cmd, you find that the environment variables are not set correctly when you start to install the JDK, and you have a little oolong.

The last problem is the file save path setting is too cumbersome, with the CMD conversion path for a long time to go under the path of the file.

Because after a day, the memory of the most impressive problem is these few bar. 300 episodes need perseverance Ah, although a episode only 20-40 minutes, but also a lot of, I must insist on!

---restore content ends---

Java Hello World

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.