Programming 2: Tutorial 1: Java Building Blocks
Programming 2: Tutorial 1: Java Building Blocks
Preparation
1. Ensure you use a text editor and you have JDK 8 installed on your machine
2. Create a folder CT216 and another one called T1 inside it so that you have folder structure:
CT216\T1
Exercises
1. Hello world
a) Create a sub-folder inside T1 called "ex1"
b) Create a class called HelloWorld as given in the course notes and compile it and run it
This exercise is a follow-up to Ex 2, and uses material from Ex 2; thus Ex 2 must have been completed
successfully.