hi

You need to have the method defined as public static long timeTaken() and return a long variable say message. where message = endTime - startTime.
And in the main method you need to call...