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

Java Java Basics Getting Started with Java IO

how do i camel case this

im stuck how do i camel case

IO.java
String Solomon = console.readLine("Solomon");

2 Answers

Solomon, you're close!

String firstName = console.readLine("Solomon");

They want the variable to be named firstName, and they want it in camel-case, which means capitalizing the 2nd and subsequent words. For other examples, myFirstName, yourLastName, yourEmailAddress

thank you!!!

Shawn Wilson
seal-mask
.a{fill-rule:evenodd;}techdegree
Shawn Wilson
iOS Development Techdegree Student 7,049 Points

this is what your looking for

String firstName = console.readLine("Soloman");

your not using the actual firstName as the variable or you are using firstName you also need to camelCase your console.readline so it reads as console.readLine`

hope this helps! Happy Coding