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 trialJOSEPHINE MUFOWO
Courses Plus Student 158 PointsHello,what is the problem with my answer?
Hello,what is the problem with my answer?
// I have setup a java.io.Console object for you named console
stringFirstName=''Josephine''
1 Answer
Dave Harker
Courses Plus Student 15,510 PointsHi Josephine Mufowo,
Can I suggest you watch Java Basics - Strings and Variables. It covers this exact challenge in detail and you'll discover solutions to the issues you're facing with code conventions and syntax.
I can tell you the format should look like:
String variableName = "Sample String";
But I think you'd really benefit from watching the training video I linked above.
Coding can be tough at first, but don't give up Just like many worthwhile skills, it takes time and practice.
Best of luck, and happy coding,
Dave
JOSEPHINE MUFOWO
Courses Plus Student 158 PointsJOSEPHINE MUFOWO
Courses Plus Student 158 PointsThank you Dave