Java Java Basics Getting Started with Java Strings, Variables, and Formatting

How do I create a string?
// I have setup a object for you named console
String FirstName= "James";

1 Answer

Gabriel Pierce-Lackey
Gabriel Pierce-Lackey
11,005 Points

Your variable name cannot start with an capital letter. Change the "f" in FirstName, to an undercase "f" like firstName