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
a) System.currentTimeMillis()
b) System.nanoTime()
c) System.getCurrentTime()
d) System.getProcessingTime()
b) System.nanoTime()
c) System.getCurrentTime()
d) System.getProcessingTime()