Answers for "how much time does it take java to do 10^40 operation"

4

java get excectuon time

long startTime = System.nanoTime();
methodToTime();
long endTime = System.nanoTime();

long duration = (endTime - startTime);  //divide by 1000000 to get milliseconds.
Posted by: Guest on June-24-2020

Code answers related to "how much time does it take java to do 10^40 operation"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language