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

1 Answer

Jonathan Grieve
MOD
Jonathan Grieve
Treehouse Moderator 88,483 Points

In this course, you're using the Java Language to build your Android Project, so make a string variable in the same way as you would in Java.

So first declare the Data type, which is String and assign it a name and value.

String variableName = "string value";