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 trialJames Thomas
6,452 PointsCan't pass this "coding Challenge" no indication of what to do
I'm on the "Data input" or "receiving data" section of the java basics course. I already know all of this code, I am simply brushing up on my java quickly before jumping into the Android course. Ten minutes in and this site is an Utter let down. I have literally no idea how I can pass this question. It won't let me skip (maybe it will but won't tell me how).
I could write this program in thirty seconds. The issue is I keep getting compile error even though my code is fine. It's that I have absolutely no idea (due to there being no indication what so ever) of what to include in my code.
Do they just want me to declare a string and get the user to input it? Do they want me to go all the way from import to public static void main(String[] args) and include all curly braces OR shall I initialize the class constructor or like whatever I don't know but I've tried every single way and this hideous layout is getting me nowhere.
Any help appreciated please, I've never been so annoyed and disillusioned by a course or training app within such a short time in my entire life.
1 Answer
james south
Front End Web Development Techdegree Graduate 33,271 Pointsthey want just what it says, no more no less, each task is one line of code, nothing fancy, no psvmsa etc, no importing. you're just using the console object it provides to read and print.
James Thomas
6,452 PointsJames Thomas
6,452 PointsSuperb. Exactly the explanation I needed. Thank you.