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?

【Java】HelloWorldを表示させる方法

Posted at

はじめに

今回はJavaでHello Worldを表示させていこうと思う

まずは適当な場所にHelloWorld.javaファイルを作成していく

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

コマンドプロンプトを開く
HelloWorld.javaがある場所に移動して
javac HelloWorld.javaを実行する
java 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?