Answers for "teimpo en segundos java"

0

teimpo en segundos java

long inicio = System.currentTimeMillis();
Thread.sleep(2000);
long fin = System.currentTimeMillis();
double tiempo = (double) ((fin - inicio)/1000);
Posted by: Guest on May-02-2020

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language