Page 1 of 1

Which of the following is a best practice to measure time taken by a process for execution?

Posted: Wed Jul 13, 2022 7:50 pm
by answerhappygod
a) System.currentTimeMillis()
b) System.nanoTime()
c) System.getCurrentTime()
d) System.getProcessingTime()