Question : Random.nextDouble(double d)?

Based on:
http://www.experts-exchange.com/Programming/Languages/Java/Q_26334576.html
the code below generates a random int between 2 and 8.

This uses nextInt(int n).
Now I want a random double between 2 and 8, but I don't see an equivalent method nextDouble (double d).
How is this done?
1:
2:
3:
4:
5:
final int MAX = 8;
    final int MIN = 2;

    Random random = new Random();
    int randomInt = random.nextInt(MAX-MIN) + MIN;

Answer : Random.nextDouble(double d)?

new Random().nextDouble() * (MAX - MIN) + MIN
Random Solutions  
 
programming4us programming4us