🤑 Join the Treehouse affiliate program and earn 25% recurring commission!

New No-Code Track! 🚀 New videos dropping every week—start learning today!

🌟 Dreaming of a bright future? 🎓 Ask about the Treehouse Scholarship program! 🚀

✨ Earn college credits in Cybersecurity, JS, HTML, CSS and Python

  • Treehouse Logo
  • Plans
    Chevron
    • For Individuals
    • For Businesses
    • For Schools
    • For Libraries
    • For Military
  • Library
    Chevron
    • All Courses
    • Tracks
    • College Credit
  • Techdegree
    Chevron
    • Overview
    • Front End Development
    • Full Stack JavaScript
    • Data Analysis
    • UX Design
    • Python
  • Community
    Chevron
    • Community Projects
    • Live Sessions
    • Code Adventures
    • Discord
    • Forum
    • Success Stories
    • Treehouse Links
    • 100 Days of Code
  • Resources
    Chevron
    • Career Toolbox
    • CodeForward
    • Free Treehouse Near Me
    • Jobs
    • Blog
    • Support
    • About
  • For Individuals For Businesses For Schools For Libraries For Military
  • All Courses Tracks College Credit
  • Overview Front End Web Development Full Stack JavaScript Python Development Data Analysis UX Design
  • Community Projects Live Sessions Code Adventures Discord Forum Success Stories Treehouse Links 100 Days of Code
  • Career Toolbox CodeForward Free Treehouse Near Me Jobs Blog Support About
  • Sign In
  • Free Trial
Instagram Twitter Facebook YouTube LinkedIn
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • AI
      • • Android
      • • APIs
      • • Coding for Kids
      • • College Credit
      • • Computer Science
      • • CSS
      • • Data Analysis
      • • Databases
      • • Design
      • • Development Tools
      • • Digital Literacy
      • • Game Development
      • • Go Language
      • • HTML
      • • Java
      • • JavaScript
      • • Learning Resources
      • • Machine Learning
      • • No-Code
      • • PHP
      • • Professional Growth
      • • Python
      • • Quality Assurance
      • • React
      • • Ruby
      • • Security
      • • Swift
  • Brendan Passey
    Brendan Passey
    999 Points

    At this point do we need promptForGuess to return a boolean?

    Posted May 21, 2020 6:54am by Brendan Passey
    Brendan Passey
    999 Points
    • Java
    • Java Objects
    • Delivering the MVP
    • Exceptions

    1 Answer

  • yige yang
    yige yang
    8,329 Points

    what is letter + "

    Posted August 1, 2019 2:25pm by yige yang
    yige yang
    8,329 Points
    • Java
    • Java Objects
    • Delivering the MVP
    • Exceptions

    1 Answer

  • leonardo valdes
    leonardo valdes
    12,384 Points

    Whats the difference between throwing an exception and throwing a new exception?

    Posted March 30, 2019 7:52pm by leonardo valdes
    leonardo valdes
    12,384 Points
    • Java
    • Java Objects
    • Delivering the MVP
    • Exceptions

    1 Answer

  • Samantha Kelsey
    Samantha Kelsey
    5,146 Points

    program ends in inteliJ

    Posted March 2, 2019 6:50pm by Samantha Kelsey
    Samantha Kelsey
    5,146 Points
    • Java
    • Java Objects
    • Delivering the MVP
    • Exceptions

    2 Answers

  • michael lee
    michael lee
    5,179 Points

    what is the word throw mean?

    Posted January 1, 2019 2:37am by michael lee
    michael lee
    5,179 Points
    • Java
    • Java Objects
    • Delivering the MVP
    • Exceptions

    1 Answer

  • Muhammad Umar
    Muhammad Umar
    7,906 Points

    Not running did exactly what Craig did

    Posted December 8, 2018 6:17pm by Muhammad Umar
    Muhammad Umar
    7,906 Points
    • Java
    • Java Objects
    • Delivering the MVP
    • Exceptions

    1 Answer

  • MUHAMMAD talha arshad
    MUHAMMAD talha arshad
    1,272 Points

    Why an Exception anyway (In this video's context)?

    Posted September 12, 2018 5:12am by MUHAMMAD talha arshad
    MUHAMMAD talha arshad
    1,272 Points
    • Java
    • Java Objects
    • Delivering the MVP
    • Exceptions

    1 Answer

  • Jacqueline Haggett
    Jacqueline Haggett
    1,135 Points

    When is the applyGuess method actually called?

    Posted August 23, 2018 11:41pm by Jacqueline Haggett
    Jacqueline Haggett
    1,135 Points
    • Java
    • Java Objects
    • Delivering the MVP
    • Exceptions

    1 Answer

  • Alexis Ruiz
    Alexis Ruiz
    9,237 Points

    Unreachable statement

    Posted May 12, 2018 5:28pm by Alexis Ruiz
    Alexis Ruiz
    9,237 Points
    • Java
    • Java Objects
    • Delivering the MVP
    • Exceptions

    1 Answer

  • hamdan hassan
    PLUS
    hamdan hassan
    Courses Plus Student 1,236 Points

    can someone explain this

    Posted April 18, 2018 7:52pm by hamdan hassan
    hamdan hassan
    Courses Plus Student 1,236 Points
    • Java
    • Java Objects
    • Delivering the MVP
    • Exceptions

    1 Answer

  • Chris Rubio
    Chris Rubio
    1,643 Points

    I dont understand how the following sysntax checks if a letter has been guesses already or not,please explain:

    Posted February 8, 2018 9:55am by Chris Rubio
    Chris Rubio
    1,643 Points
    • Java
    • Java Objects
    • Delivering the MVP
    • Exceptions

    2 Answers

  • Marius Brivinskas
    Marius Brivinskas
    3,277 Points

    Hi does anyone has as source code from these videos

    Posted October 21, 2017 3:51pm by Marius Brivinskas
    Marius Brivinskas
    3,277 Points
    • Java
    • Java Objects
    • Delivering the MVP
    • Exceptions

    0 Answers

  • Ethan Goodwin
    Ethan Goodwin
    6,537 Points

    Is it bad practice to use + instead of %s

    Posted October 8, 2017 9:58pm by Ethan Goodwin
    Ethan Goodwin
    6,537 Points
    • Java
    • Java Objects
    • Delivering the MVP
    • Exceptions

    2 Answers

  • Massimo Scola
    PLUS
    Massimo Scola
    Courses Plus Student 632 Points

    Illegal Argument Exception? Why?

    Posted July 6, 2017 7:20pm by Massimo Scola
    Massimo Scola
    Courses Plus Student 632 Points
    • Java
    • Java Objects
    • Delivering the MVP
    • Exceptions

    2 Answers

  • jay ang
    PLUS
    jay ang
    Courses Plus Student 679 Points

    Why is the return part of promptForGuess() method.

    Posted May 23, 2017 3:05pm by jay ang
    jay ang
    Courses Plus Student 679 Points
    • Java
    • Java Objects
    • Delivering the MVP
    • Exceptions

    1 Answer

  • sandro mirijanashvili
    sandro mirijanashvili
    2,686 Points

    boolean isHit = false;

    Posted January 13, 2017 9:45pm by sandro mirijanashvili
    sandro mirijanashvili
    2,686 Points
    • Java
    • Java Objects
    • Delivering the MVP
    • Exceptions

    2 Answers

Posting to the forum is only allowed for members with active accounts.
Please sign in or sign up to post.

    Treehouse

  • About
  • Blog
  • Careers
  • Community
  • Stories
  • Shop
  • Contact
  • Gift Card

See Full Catalogue

Techdegree

  • Front End Web Development
  • Full Stack JavaScript
  • Python Development
  • Data Analysis
  • UX Design

Tracks

  • Learn to Code for Beginners
  • Beginning Python
  • Beginning SQL
  • Beginning Java
  • ...see more

Courses

  • JavaScript Basics
  • Intro to HTML & CSS
  • Python Basics
  • CSS Layout
  • ...see more

Explore

  • Plans
  • Affiliates
  • Perks
  • Free Treehouse Near Me
  • Treehouse for Libraries
  • Treehouse for Businesses
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
  • Instagram
Terms & Conditions | Privacy

© 2025 Treehouse Island, Inc.