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

Android

Code 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
STAFF
Ben Jakuben
Treehouse Teacher

Getting a compilation error? Looks like it might just be a missing semicolon at the end. :)

ahah thank you so much i can't believe i didn't catch this and thanks for helping me learn android app development to.

I've done the same thing, but I'm still getting a compilation error...

String[ ] frogNames = { "Juliana", "Edvan", "Vera" }; bestFrog = frogNames[0];

Ben Jakuben
Ben Jakuben
Treehouse Teacher

So 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.

Thank you, Ben! I've already passed that Challenge. I don't remember what I did, but it worked.