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
Connor Zale
402 PointsCode Challenge Any Help Would Be Greatly Appreciated
Hello all, I was wondering if you could help me with this one i think im on the right track but im not to sure. http://teamtreehouse.com/library/introduction-to-arrays
im on task 2 of 4 and this is what i have
String [ ] frogNames = {
"Peter",
"Patrick",
"james" };
bestFrog = frogNames [0]
Thanks everyone
2 Answers
Ben Jakuben
Treehouse TeacherGetting a compilation error? Looks like it might just be a missing semicolon at the end. :)
Juliana Miranda
22,510 PointsThank you, Ben! I've already passed that Challenge. I don't remember what I did, but it worked.
Connor Zale
402 PointsConnor Zale
402 Pointsahah thank you so much i can't believe i didn't catch this and thanks for helping me learn android app development to.
Juliana Miranda
22,510 PointsJuliana Miranda
22,510 PointsI've done the same thing, but I'm still getting a compilation error...
String[ ] frogNames = { "Juliana", "Edvan", "Vera" }; bestFrog = frogNames[0];
Ben Jakuben
Treehouse TeacherBen Jakuben
Treehouse TeacherSo sorry for the late reply - this looks like something went wrong with the tests for this Code Challenge. I'll check it out and hopefully fix it.