double t1 = System.currentTimeMillis();
double t2 = System.currentTimeMillis();
System.out.print("\n Tempo Total: "+ (t2-t1)/Double.valueOf(1000)+ " segundos");
When compiling the third line, corresponding to System.out.println
, gives an error:
Unresolved compilation problem: The operator is undefined for the argument type (s) double, Double