1. Assume you are in the directory MyJavaPrograms. What happens
when you compile your
program using the command: javac HelloWorld.java?
For this assignment, you'll need to bring up and work in a CommandPrompt(Windows),Terminal (OS X) or shell (Linux) window.
Use your favorite text editor to create first java program! Name the file HelloWorld.javaand store it in a directory that will hold your java programs (e.g., MyJavaPrograms).
// This is my first java program public class HelloWorld
public static void main (String args)
System.out.println ("Hello World!");