Skip to main content

NOTICE: On Friday Nov 6, Workspaces will be temporarily unavailable for maintenance.

🚀 In our NEW AI Bootcamp you'll build a working app in 28 days, no experience required. Free to all subscription levels.

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

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

  • Treehouse Logo
    • For Individuals
    • For Businesses
    • For Schools
    • For Libraries
    • For Military
    • All Courses
    • Tracks
    • AI Bootcamp
    • College Credit
    • Techdegree Bootcamps
    • Front End Development
    • Full Stack JavaScript
    • Code Adventures
    • Discord
    • Forum
    • Success Stories
    • Treehouse Links
    • 100 Days of Code
    • Explore
    • Career Toolbox
    • Free Treehouse Near Me
    • Affiliates
    • Blog
    • Support
    • About
    • Learn
    • Beginner's Guide to Coding
    • Data Analysis with SQL & Python
    • Front-End Web Development
    • Python Programming Basics
    • Techdegree Bootcamp Overview
    • UX Design Fundamentals
    • AI Tools for Beginners
  • For Individuals For Businesses For Schools For Libraries For Military
  • All Courses Tracks AI Bootcamp College Credit
  • Techdegree Bootcamps Front End Web Development Full Stack JavaScript
  • Code Adventures Discord Forum Success Stories Treehouse Links 100 Days of Code
  • Explore Career Toolbox Free Treehouse Near Me Affiliates Blog Support About
    Learn Beginner's Guide to Coding Data Analysis with SQL & Python Front-End Web Development Python Programming Basics Techdegree Bootcamp Overview UX Design Fundamentals AI Tools for Beginners
  • Sign In
  • Free Trial
Instagram Twitter Facebook YouTube LinkedIn
Loading banner... Start your free trial at Treehouse
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • AI
      • • 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
      • • Vibe Coding
  • 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.

Techdegree

  • Front End Web Development
  • Full Stack JavaScript
SEE ALL

Tracks

  • Learn to Code for Beginners
  • Beginning Python
  • Beginning SQL
  • Beginning Java
SEE ALL

Courses

  • JavaScript Basics
  • Intro to HTML & CSS
  • Python Basics
  • CSS Layout
SEE ALL

About Us

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

Explore

  • Plans
  • Affiliates
  • Perks
  • Shop
  • Free Treehouse Near Me
  • Treehouse for Libraries
  • Treehouse for Businesses

Treehouse is an online technology education platform founded in 2011. Treehouse offers more than 700 self-paced, video-based courses in web development, programming, data analysis, design, and AI, plus two project-based bootcamp programs in Front End Web Development and Full Stack JavaScript. Individual Treehouse plans start at $25 per month and include a 7-day free trial. Treehouse serves individual learners, businesses, schools, and public libraries. Cardholders at participating U.S. public libraries can use Treehouse for free. Select Treehouse courses, offered with University Pathways International, are recommended for college credit by ACE and NCCRS. Treehouse learners earn digital certificates for completed Tracks.

Terms & Conditions · Privacy · © 2026 Treehouse Island, Inc.
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
  • Instagram
  • Discord