Java Lesson 02: Usage of helper classes
From Erlands Wiki
You have this helper class:
public class ArgumentHelper { public static String getArgument(String[] args) { return args[0]; } }
And this main class:
public class MyClass { public static void main(String[] args) { } public static void printStuff(String data) { System.out.println("You specified: "+data); } }
The program is executed as:
java MyClass Hello
Your work is to update the main method so it gives an output like the following, you are required to use both the ArgumentHelper class and the printStuff method.
You specified: Hello
