Java program that will both analyse data and