Create Stopwatch class with start, stop and deference methods - It is use for find out the execution time of any process explicitly public class StopWatch { long start = System.currentTimeMillis(); long stop = 0; String title = null; public StopWatch( String title ) { this.title = title; } public long start() { start = System.currentTimeMillis(); stop = 0; return start; } public long stop() { stop = System.currentTimeMillis(); return stop; } public long diff() ...