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 trial![](https://ecs-static.teamtreehouse.com/assets/views/marketing/shared/community-banner-white-47072046c51352fe6a69f5e691ff5700b28bb11d45197d7bdf066d9ea3f72d0c.webp)
![alan alhamid](https://secure.gravatar.com/avatar/9c6ffcc4d9384de916339935547a1fee?s=96&d=https%3A%2F%2Fecs-static.teamtreehouse.com%2Fassets%2Fcontent%2Fdefault_avatar-445fbbabfc8dc9188fb5967fe43322ee0c3e0dd1e10f378bf8343784af5a13eb.webp&r=pg)
alan alhamid
Courses Plus Student 114 PointsI have placed several errors in this challenge. To fix them you must remove the // to uncomment them and then correct th
I have placed several errors in this challenge. To fix them you must remove the // to uncomment them and then correct the error.
Uncomment the first line and fix the error. If you do not see the error, click submit and view the Preview pane to view the compiler error.
I dont know where is the error
Sting firstName = ("Gordon");
string lastName = ("Sumner");
console.printf("Gordon Summer", firstName, lastName);
console.readLine("What is your name? ");
1 Answer
![Gabriel Precup](https://secure.gravatar.com/avatar/66784bc6fce8b6bab673e8eac8a27c47?s=96&d=https%3A%2F%2Fecs-static.teamtreehouse.com%2Fassets%2Fcontent%2Fdefault_avatar-445fbbabfc8dc9188fb5967fe43322ee0c3e0dd1e10f378bf8343784af5a13eb.webp&r=pg)
Gabriel Precup
4,565 Pointsfirst, since Java is case sensitive, you must change the "string" to "String". The second error is, in the printf, two variables are asked to be shown, so instead of the string "Gordon Summer", you must introduce those variables with ("%s %s", firstName, lastName).