Timer.java is a program that uncovers the advantages of using cache memory by using java arrays to demonstrate the time difference between the processor going to memory to get data or by going to cache memory to get data.