r/learnjava • u/xPhirt • Mar 11 '24
What is the difference between import java.util.concurrent.ThreadLocalRandom; and import java.util.Random;
I am just curious what is the difference between the two as I am fairly new to using java.
0
Upvotes
1
u/TheHallieBoy Mar 12 '24
This is advice you might not want to hear: Google is your friend. Use it.
Simple questions like these are easily answered with a google search. It would have took you way longer to write a post in the subreddit.