Java ThreadLocalRandom current() methodThe current() method of Java ThreadLocalRandom class returns the current thread's ThreadLocalRandom. It takes no parameter. Syntax:Parameter:NA Returns:This method returns the current thread's ThreadLocalRandom. ExampleOutput: Current thread's LocalThreadRandom name is: java.util.concurrent.ThreadLocalRandom@11028347 Next TopicJava-threadlocalrandom-doubles-method |
We provides tutorials and interview questions of all technology like java tutorial, android, java frameworks
G-13, 2nd Floor, Sec-3, Noida, UP, 201301, India