Ok, so I've imported
import java.util.Random;

and im trying to get a random number between 1 and 2, 1 and 4,and also 1 and 15, how would i acomplish this, i know how to generate random numbers, but not between 2 certain numbers?, how can this be accomplished?

I would recommend checking out this method.

thanks, perfect answer