Tag: random

While developing applications, we often need to generate random numbers. Java provides support to generate random numbers primarily through the java.lang.Math and java.util.Random classes. In this post, I will discuss different ways to generate random numbers based on different types of requirements. Random Numbers using the Math Class Java provides the Math class in the […]Continue reading