Object Orientated Programming is a journey where you move from a single class, single method program (has a main method only)  to a multi-class program with many methods.

The best place to start is with a single class program that has more than one method. A single class program with many methods has a special name ie “static“.

This currency coverter program has one class and three methods – all the variable and methods are flagged as static. The main method handles input and output. The other two methods handle the processing – one method from “pounds to dollars” and the other from “dollars to pounds”. You have to chose which conversion you want to do which is why the program has an if statement.

Click here

Here is the exercise that goes with this program. Answer the questions and email.