The beginning of Java

Source: Internet
Author: User

The exciting moment finally arrived, not I like Java, is I know that I will always have a day to meet him.

In accordance with the practice of all programming languages, the beginning is still the world famous saying:

 Public class Myfirstjavaprogram {  // Create a class public static named Myfirstjavaprogram first     void Main (String []args) {/// fixed-format program Portal virtual machine found this portal before executing the inside program       System.out.println ("Hello World "); // This is the program to be executed. The system is the class out is the object println is the method of the word is the meaning of Java    

Yes, it was the "Hello World" that shocked the Chinese and foreign.

From this simple code, we have seen the true meaning of Java, which is different from other languages, and few languages can see the true meaning of the language from Hello World!

The most basic concept of Java is also the core concept of its classes, objects, methods and the execution of the final virtual machine!

To say the truth I do not like this code, imagine Python "Hello World", a word on it, and Java to wordy so a lot!

print("Hello World")

How cool and exciting!

No way, the work needs to use Java, no matter how much. Today this article is used as the beginning of Java learning, we will open the exciting chapter!

  

The beginning of Java

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.