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
Eileen DuClos
4,266 PointsLooking for Info to Tie Together my Java Learning
I hope this query makes sense. I have also been working through Stanford University's open courseware Intro to programming 106A, which is uses the acm package. (and if anyone wants to go through this course and brainstorm with me on the challenges, would love to hear from you).
Anyhow, I'm trying to sort out what is generic to Java, and what comes with what we are importing here-- the %s is nowhere to be found in what I've studied, and that course is run in completely in Eclipse.
I'd really like to read more if anyone has places to start so I can wrap my brain about this a bit more--
2 Answers
william parrish
13,774 PointsThe ACM library / package that you are using in the intro to java course at stanford, is a distilled / watered down version of the Java library. They specifically picked out the parts that they believed their students would need, and omitted some of the things they thought were unecessary to the tasks they were assigning.
Here is the true and complete java documentation, and a link to the string section you may be interested in. Look a little ways down the page, and you will find the section on String Formatting.
http://docs.oracle.com/javase/tutorial/java/data/strings.html
Documentation Overview - http://docs.oracle.com/javase/8/
The Documentation Itself ( brace yourself) - http://docs.oracle.com/javase/8/docs/api/index.html
The last link should make it pretty clear why the ACM thing was implemented.
Eileen DuClos
4,266 PointsThis is perfect and much appreciated.
For me, the Standford course seems a big help in learning how to 'think' as a programmer vs. learning the language and seems geared more that way.