300+ free video programming tutorials ― Learn for free!

Java Tutorial - #20 - Generating a Random Number

Category: Java - Author: Karl Hadwen

Home > Java > Java Tutorial - #20 - Generating a Random Number

Did you find this video helpful? If so, why not subscribe!? ? http://bit.ly/CognitiveSurge

Generating a random number within Java is fairly simple. All we have to do is: ThreadLocalRandom.current().nextInt(min, max + 1); Once we've done that it's pretty much go time!

Want to stay up to date with commonly asked questions & answers, or how about a monthly digest of useful resources that I've found online? Go ahead and sign up to the Cognitive Surge community mailing list here: http://eepurl.com/bG93vz

Like the Cognitive Surge Facebook page
https://www.facebook.com/cognitivesurge

Follow me on Twitter (Feel free to tweet me questions!)
https://twitter.com/karlhadwen