My first Java program Helloword

Source: Internet
Author: User
   /* *copyright (c) 2014, Yantai University School of computer   *all rights reserved.   * File name: main.cpp   * Zhang Wanhua   * Completion Date: August 3, 2015   * version number: v1.0   *   * Problem Description: Write a Helloword program that displays the word "hello" on the screen * 1, In Java pragmatics, write a program * 2, this program needs to run and have display function * Step: 1, define a class, through class to complete *      2, to run this class, requires the Main method *      3, display function through the OUTPUT statement *//  code:// Define a class Helloword {//define a Main method public static void main (string[] args) {//Output statement System.out.println ("Hello world!");}}


Operation Result:

Learning experience:

Finally, I wrote my first Java code.

Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

My first Java program Helloword

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.