6. 1. 9. public static long nanoTime(): provide more precision, i.e. in nanoseconds
public class MainClass {
public static void main(String[] args) { long start = System.nanoTime();
// block of code to time long end = System.nanoTime();
System.out.println("It took " + (end - start) + " nanoseconds");