Q86
Which of the following is a best practice to measure time taken by a process for execution?
A.
System.currentTimeMillis()
B.
System.nanoTime()
AnswerC.
System.getCurrentTime()
D.
System.getProcessingTime()
Answer: Option B
Solution
Answer: Option B
No explanation is given for this question Let's Discuss on Board