Which of the following is method of System class is used to find how long a program takes to execute?
(a) currenttime()
(b) currentTime()
(c) currentTimeMillis()
(d) currenttimeMillis()
This question was addressed to me in an internship interview.
I'm obligated to ask this question of Java.lang in section Exploring java.lang & java.io of Java