Algorithms vs. programs (3)
If we wish to use the algorithm on a computer, we must first code it in a programming language.
There may be many ways of coding the algorithm, and there is a wide choice of programming languages. But all the resulting programs are implementations of the same underlying algorithm.
Here we express our implementations in Java.(Alternatives would be C, Pascal, Ada, etc.)