For a first project, we’ll enter some very simple code and compile it. This should establish that your environment is in good shape.
-
Enter code
In file named ‘HelloWorld.cs’, enter the following:
-
Enter code
In a file named ‘HelloWorld.java’, enter the following:
- Compile
Compile the code at the command prompt by executing the following:
-
Run
Run the program by typing:
You should see output showing the component version.