From 860a447ff9e12ef43a62bc433fff8e6f9fcfed0b Mon Sep 17 00:00:00 2001 From: Oleksii Aleshchenko Date: Thu, 23 Feb 2023 15:00:01 +0200 Subject: [PATCH] change argument number --- src/Main.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Main.java b/src/Main.java index ef51d6b..ede1692 100644 --- a/src/Main.java +++ b/src/Main.java @@ -1,6 +1,6 @@ public class Main { public static void main(String[] args) { - System.out.println(args[2]); + System.out.println(args[0]); System.out.println("Hello world!"); // System.out.println(1); }