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 Strings, Variables, and Formatting

The Prinf method problems for Java basics is keep telling me I am wrong. What is the basic setup of this IDE?

Is there a standard setup I need to do for programming in this IDE?

Name.java
// I have setup a java.io.Console object for you named console

String firstName = "Sheena";
console.printf(firstName);

1 Answer

Jason Anders
MOD
Jason Anders
Treehouse Moderator 145,860 Points

Hi Sheena,

There is nothing to set up in Challenges, it's all done for you. However, instructions for each challenge are very specific, and the code checker is very picky.
For this challenge, the instructions for the task say to print a string that is exactly "<YOUR NAME> can code in Java!" ... but you are only printing "<YOUR NAME>".
So, you just need to print the exact string the task is looking for.

Hint: Here you will also need to use a placeholder in the printf string.

Hope that helps. :) :dizzy: