public class Lab1 { /* edit and compile this, then try running the program using the command line java Lab1 Jack Jill Dick Jane Barack Michelle */ public static void main(String[] args) { // display a "Hello World!" message // call an internal subroutine to display a second "hello" message // create an instance of the Greetings class // call the hello() method of your Greetings object to display a third "hello" message // call the hello(String who) method of your Greetings object once for each // command line parameter in order to display a series of personalized "hello" messages } /* Code an internal subroutine (to be called by main) here. It does not have to be public (in fact it should be private) but it should be static (otherwise, main will have to do some extra work to create an instance of this subroutine). */ } class Greetings { public void hello() { // code hello() method here ... use JOptionPane.showMessageDialog() method } public void hello(String who) { // code hello(String who) method here } }