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)
![Shivam Joshi](https://secure.gravatar.com/avatar/fc50fcaeb2ea0be843126c70df2ba9c2?s=96&d=https%3A%2F%2Fecs-static.teamtreehouse.com%2Fassets%2Fcontent%2Fdefault_avatar-445fbbabfc8dc9188fb5967fe43322ee0c3e0dd1e10f378bf8343784af5a13eb.webp&r=pg)
Shivam Joshi
1,438 PointsTask 4 of 4 Help!!!
I need help with the last question on the test :(.
"Finally, uncomment the last line and correct it. This one seems to be missing the data type declaration at the start of the statement. Press Check Work if you don't see the mistake, and then click Preview to see the compiler error.".
What do i do????
band = console.readLine("Which band? ");
1 Answer
![Paul West](https://secure.gravatar.com/avatar/f21cea1de87218e53ee14d31f28d8ffb?s=96&d=https%3A%2F%2Fecs-static.teamtreehouse.com%2Fassets%2Fcontent%2Fdefault_avatar-445fbbabfc8dc9188fb5967fe43322ee0c3e0dd1e10f378bf8343784af5a13eb.webp&r=pg)
Paul West
6,925 Pointsdid you try: String band = console.readLine("Which band? ");
![Name:GoogleSearch orJonathan Sum](https://uploads.teamtreehouse.com/production/profile-photos/6164812/micro_download.jpg)
Name:GoogleSearch orJonathan Sum
5,039 PointsPaul West is right. You need to put the String infront of the word "band" because the answer of question"which band?" is going to be a fixed answer. i guess that is how the String means.
![JOSEPH WANGANGA](https://secure.gravatar.com/avatar/24c7940c730be7fc7e66c00b9e534f2f?s=60&d=https%3A%2F%2Fecs-static.teamtreehouse.com%2Fassets%2Fcontent%2Fdefault_avatar-445fbbabfc8dc9188fb5967fe43322ee0c3e0dd1e10f378bf8343784af5a13eb.webp&r=pg)
JOSEPH WANGANGA
318 Pointsi dd like Paul but isnt going through.. is still saying error
Shivam Joshi
1,438 PointsShivam Joshi
1,438 PointsI even tried creating a whole new string for just "Band" but nothing works :c