Generating a random number between specified range

To generate random numbers java users Random class and to generate integer random number nextInt(maxNo) of Random number is used the parameter maxNo specifies that this method generate a integer number between 0 and maxNo.

It will generate random number between 0 and 100, where 0 and 100 are included