Welcome to the Treehouse Community
The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.
alan alhamidCourses Plus Student 114 Points
I 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? ");
Gabriel Precup4,565 Points
first, 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).