Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialAustin Schumacher
155 PointsSting FirstName = "Austin"; console.printf("Hello, my name is Austin"); idk what im doing wrong
Sting FirstName = "Austin"; console.printf("Hello, my name is Austin");
cant figure this out.
// I have setup a java.io.Console object for you named console
Sting FirstName = "Austin";
console.printf("Hello, my name is Austin");
1 Answer
james south
Front End Web Development Techdegree Graduate 33,271 Pointsyou put sting instead of string and the variable name they want is firstName, not FirstName.
Gonzalo Torres del Fierro
Courses Plus Student 16,751 PointsGonzalo Torres del Fierro
Courses Plus Student 16,751 PointsString firstName = "Austin"; System.out.printf("hello my name is %s %n", firstName);
you can use the java-repl, on LaunchWorkspace. and try the same, it works!! :)