Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

Java Local Development Environments Advanced Tooling Teamwork

Mary McCallum
Mary McCallum
4,273 Points

Exercise instructions unclear for this video. What does 'prompt for the story template' mean?

The exercise asks us to complete all the TODOs. The first one says this:

//TODO:csd - Instantiate a new Prompter object and prompt for the story template

        String story = "Thanks __name__ for helping me out.  You are really a __adjective__ __noun__ and I owe you a __noun__.";
        Template tmpl = new Template(story);

For the instruction, instantiate a new Prompter object, I have added:

Prompter prompter = new Prompter();

but what does 'prompt for the story template' mean? The instructions aren't making sense to me at all.