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

I am not sure what it means to prompt for the Story Template, any suggestions?

In the tree house app we are asked to do a lot of to do's i am sadly stuck on this one: // TODO:csd - Instantiate a new Prompter object and prompt for the story template

2 Answers

Craig Dennis
STAFF
Craig Dennis
Treehouse Teacher

Hey Dalton!

It means ask the user to input the template. (Make a new method in Prompter). See readLine

This is what i added for my prompter: Prompter prompter = new Prompter();, but i am not sure if I put something in the parentheses or if I do something different. Do you mind shedding more light onto the subject?

Craig Dennis
Craig Dennis
Treehouse Teacher

Hey Dalton!

Yeah add a new method on the Prompter object that gets the template. Then call it in main.

That help?

I've completed the whole track for Beginner Java and I'm in the middle of Intermediate Java - but the instructions for this are still not making sense. The debugging exercise runs through the code quickly but it's not very clear what is going on and the instructions are too vague. If you could please modify the exercise to make it clearer.