0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

JavaでHelloWorldプログラムを実装してみた

Posted at

概要

JavaでHelloWorldプログラムを実装してみました。

ソースコード実装

以下のコードを作成しました。

Hello.java
public class Hello {
    public static void main(String[] arg){
	System.out.println("Hello World!");
    }
}

コンパイル実行

以下のコマンドを実行しました。

$ javac Hello.java

プログラム実行

以下のコマンドを実行しました。

$ java Hello 
Hello World!

まとめ

HelloWorldプログラムを書くと新鮮な気持ちになります。
何かの役に立てばと。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?