For this exercise you compile and run the first Java application from the course notes, SimpleProgram.java.
There are many different Java development environments, so the exact steps required will be somewhat different across Java IDEs.
For more help with exercises, see About The Exercises
PrerequisitesSkeleton Code
Tasks
-
Task 1
Copy and paste the code for SimpleProgram from the course notes into a file (or use the SimpleProgram.java file above) in a working directory where you will develop programs for this course.
-
Task 2
Compile the Java source file SimpleProgram.java.
-
Task 3
Execute SimpleProgram.
Help for each of these tasks can be found on the next page.
copyright 1996-2000 Magelang Institute dba jGuru