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 Using your New Tools Multiple Format Strings

does treehouse teach people how to write java code in IDE's like eclipse and netbeans, or any IDE's

please someone answer this question

Multiple.java
// I've imported java.io.Console for you.  It is stored in a variable called console for you.

1 Answer

andren
andren
28,558 Points

Most of the basics courses are taught using the Treehouse workspace rather than an IDE, but there is a course dedicated to learning how to use an IDE (IntelliJ IDEA) and a lot of the more advanced courses does use IntelliJ IDEA instead of the workspace.

by using like this method System.out.println(); is that whay you mean

andren
andren
28,558 Points

In the courses where IntelliJ is used they do indeed use System.out instead of the console object. It is worth pointing out that besides the use of the console object (which does not work in IDEs for complex reasons) all of the code shown off in all of the Java courses will work in Java IDEs.

So if you take the code shown and remove any reference to the console object and instead use System.out.printf for printing instead of console.printf for example and the Scanner class for getting input instead of console.readLine then the code will work in an IDE.