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 trialAnthony Meyer
372 PointsIt's clearly unclear to me just what is expected here.
I've tried using the vanilla "Hello, my name is...". I've also used other methods covered in the video and none appear to be working.
2 Answers
Krzysztof Kucharzyk
Front End Web Development Techdegree Student 4,005 PointsIt's quite simple to do, all you have to write is:
String firstName = "Your Name";
Krzysztof Kucharzyk
Front End Web Development Techdegree Student 4,005 PointsIn 2nd tast you have to use string format not to concatenate.
So your code suppose to look like this.
String firstName = "YourNameHere";
console.printf("YourNameHere can code in Java!");
Anthony Meyer
372 PointsAnthony Meyer
372 PointsUnfortunately my issue is not with the first task of this exercise. It's with the second. My text is String firstName = "Brent";
that's not the problem, it's when I get to step 2 that I start running into a wall.
Krzysztof Kucharzyk
Front End Web Development Techdegree Student 4,005 PointsKrzysztof Kucharzyk
Front End Web Development Techdegree Student 4,005 Pointsok