1.

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

A. System.currentTimeMillis()
B. System.nanoTime()
C. System.getCurrentTime()
D. System.getProcessingTime()
Answer» C. System.getCurrentTime()


Discussion

No Comment Found