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!
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
Actually, I don"t know how to start to write code , i want to know,is it necessary to mention class or start direct
plz tell me from where do I have to start my code
// I have setup a java.io.Console object for you named console
No for these basic exercises you don't need to include any of the boilerplate code. So no class or methods or anything like that needed. They also instantiate the
console object for you automatically so you don't have to worry about that.
You only need to type code that does the exact thing the challenge is asking for. So for the first task you only need to type a single line of code that creates a variable called
firstName, and sets it equal to a string that contains your name.
thanks andren...it helps me alot