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

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

New No-Code Track! 🚀start learning today!

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

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

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

  • 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
    • 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
  • 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
    • Showing results for:
    • Java
    • Java Objects
    • Delivering the MVP
    • Exceptions
    • Close
  • Brendan Passey
    Brendan Passey
    999 Points

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

    Posted on May 21, 2020 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 on Aug 1, 2019 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 on Mar 30, 2019 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 on Mar 2, 2019 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 on Jan 1, 2019 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 on Dec 8, 2018 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 on Sep 12, 2018 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 on Aug 23, 2018 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 on May 12, 2018 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 on Apr 18, 2018 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 on Feb 8, 2018 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 on Oct 21, 2017 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 on Oct 8, 2017 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 on Jul 6, 2017 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 on May 23, 2017 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 on Jan 13, 2017 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.