Android Build a Simple Android App Basic Android Programming Using the Random Class

Steven Tacker
Steven Tacker
667 Points

*[SOLVED]* Problem on "Build a Simple Android App." What am I doing wrong?

Random randomGenerator; new Random(); int randomNumber = randomGenerator.nextInt();

RandomTest.java
Random randomGenerator; new Random();
int randomNumber = randomGenerator.nextInt();

Moderator Edit: Marked Post as "Solved"

Steven Tacker
Steven Tacker
667 Points

Never-mind... Needed a = instead of a ;

1 Answer

Steven Parker
Steven Parker
172,268 Points

Congratulations on resolving your own issue! :+1:

And now this question won't show up in the "unanswered" list. :smile: