This lecture reviews some elements of Java syntax by
working through a small programming task. It looks at how data
can be obtained from standard input using Java's
class and introduces the concept of creating instances of classes
(objects) using the
It also looks at how methods are invoked - firstly
Scanner objects, to do input, and then on the object
System.out, to do output.
The lecture also considers how the development process for a small program can be managed using Git and GitLab. All of the Git commands that you will need in COMP1721 are demonstrated and discussed. After this session, you should know everything you need for the first set of exercises.