I want to create a Random class constant and use nextDouble to get a single random number between 0 and 1. I'm having trouble with the syntax to declare the constant.
public static final double (?)
I've tried looking at Oracle but that confused me a bit.
Aucun commentaire:
Enregistrer un commentaire