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
  • Korsons Don
    Korsons Don
    3,141 Points

    Question about Separation of Concerns

    Posted June 10, 2020 7:58pm by Korsons Don
    Korsons Don
    3,141 Points
    • Java
    • Java Objects
    • Creating the MVP
    • Remaining Tries

    1 Answer

  • David Sciuto
    David Sciuto
    753 Points

    I am stuck in an infinite loop and can't seem to figure out why.

    Posted May 2, 2020 2:16pm by David Sciuto
    David Sciuto
    753 Points
    • Java
    • Java Objects
    • Creating the MVP
    • Remaining Tries

    1 Answer

  • pratyush raj
    pratyush raj
    7,097 Points

    we could have used Game.remainingguess();

    Posted April 19, 2020 6:47am by pratyush raj
    pratyush raj
    7,097 Points
    • Java
    • Java Objects
    • Creating the MVP
    • Remaining Tries

    0 Answers

  • Ewerton Luna
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Ewerton Luna
    Full Stack JavaScript Techdegree Graduate 24,031 Points

    "Resource Leak Scanner is Never closed"

    Posted October 30, 2019 9:16pm by Ewerton Luna
    .a{fill-rule:evenodd;}techdegree seal-36
    Ewerton Luna
    Full Stack JavaScript Techdegree Graduate 24,031 Points
    • Java
    • Java Objects
    • Creating the MVP
    • Remaining Tries

    1 Answer

  • luis cantu
    luis cantu
    927 Points

    I am getting 6 tries instead of 7...

    Posted January 21, 2019 3:55am by luis cantu
    luis cantu
    927 Points
    • Java
    • Java Objects
    • Creating the MVP
    • Remaining Tries

    1 Answer

  • Agnes Demes
    Agnes Demes
    6,613 Points

    Iam stuck in an endless loop, cannot find why...

    Posted October 26, 2018 7:26am by Agnes Demes
    Agnes Demes
    6,613 Points
    • Java
    • Java Objects
    • Creating the MVP
    • Remaining Tries

    2 Answers

  • yahya hussein
    yahya hussein
    2,516 Points

    Cannot find symbol error

    Posted September 10, 2018 9:20pm by yahya hussein
    yahya hussein
    2,516 Points
    • Java
    • Java Objects
    • Creating the MVP
    • Remaining Tries

    1 Answer

  • Luan Torres
    Luan Torres
    1,172 Points

    Exception in thread "main" java.lang.NullPointerException

    Posted July 14, 2018 2:55am by Luan Torres
    Luan Torres
    1,172 Points
    • Java
    • Java Objects
    • Creating the MVP
    • Remaining Tries

    2 Answers

  • Kabir Gandhiok
    Kabir Gandhiok
    12,553 Points

    The game doesnt quit once the word is guessed

    Posted May 30, 2018 3:34pm by Kabir Gandhiok
    Kabir Gandhiok
    12,553 Points
    • Java
    • Java Objects
    • Creating the MVP
    • Remaining Tries

    0 Answers

  • hamdan hassan
    PLUS
    hamdan hassan
    Courses Plus Student 640 Points

    Can someone answer this

    Posted April 7, 2018 10:19am by hamdan hassan
    hamdan hassan
    Courses Plus Student 640 Points
    • Java
    • Java Objects
    • Creating the MVP
    • Remaining Tries

    1 Answer

  • Ian Bishop
    Ian Bishop
    1,123 Points

    Remaining Tries not Decreasing

    Posted November 21, 2017 12:22am by Ian Bishop
    Ian Bishop
    1,123 Points
    • Java
    • Java Objects
    • Creating the MVP
    • Remaining Tries

    4 Answers

  • christopher allen
    christopher allen
    6,495 Points

    im on the last part of the remaining tries code but keep getting an error

    Posted October 8, 2017 2:42am by christopher allen
    christopher allen
    6,495 Points
    • Java
    • Java Objects
    • Creating the MVP
    • Remaining Tries

    1 Answer

  • Mohammad Abdur Rahman
    Mohammad Abdur Rahman
    1,986 Points

    list of error around 11 !! ?

    Posted September 24, 2017 7:38am by Mohammad Abdur Rahman
    Mohammad Abdur Rahman
    1,986 Points
    • Java
    • Java Objects
    • Creating the MVP
    • Remaining Tries

    0 Answers

  • Harrison Fabian
    Harrison Fabian
    692 Points

    Check answers with teacher's workspace

    Posted August 24, 2017 8:04pm by Harrison Fabian
    Harrison Fabian
    692 Points
    • Java
    • Java Objects
    • Creating the MVP
    • Remaining Tries

    1 Answer

  • Harrison Fabian
    Harrison Fabian
    692 Points

    Can't run code because of these apparent exceptions?

    Posted August 24, 2017 6:51pm by Harrison Fabian
    Harrison Fabian
    692 Points
    • Java
    • Java Objects
    • Creating the MVP
    • Remaining Tries

    1 Answer

  • Razvan Cirstea
    Razvan Cirstea
    2,493 Points

    What does " static " imply ?

    Posted July 19, 2017 7:50pm by Razvan Cirstea
    Razvan Cirstea
    2,493 Points
    • Java
    • Java Objects
    • Creating the MVP
    • Remaining Tries

    2 Answers

  • Hoessein Abd
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Hoessein Abd
    Python Web Development Techdegree Graduate 19,107 Points

    Why do we use "-" in this video and not "-=" like we have learned?

    Posted July 11, 2017 12:44pm by Hoessein Abd
    .a{fill-rule:evenodd;}techdegree seal-36
    Hoessein Abd
    Python Web Development Techdegree Graduate 19,107 Points
    • Java
    • Java Objects
    • Creating the MVP
    • Remaining Tries

    2 Answers

  • Rey Serantes
    Rey Serantes
    5,900 Points

    Why is my second letter considered a miss? For example my word is "treehouse" any time I write "r" it counts a miss.

    Posted January 24, 2017 5:13pm by Rey Serantes
    Rey Serantes
    5,900 Points
    • Java
    • Java Objects
    • Creating the MVP
    • Remaining Tries

    1 Answer

  • renzohoogendoorn
    renzohoogendoorn
    1,804 Points

    Confused about the use of the public constant MAX_MISSES

    Posted January 3, 2017 6:59pm by renzohoogendoorn
    renzohoogendoorn
    1,804 Points
    • Java
    • Java Objects
    • Creating the MVP
    • Remaining Tries

    2 Answers

  • edumorlom
    edumorlom
    4,073 Points

    I don't understand why he has a Prompter, Hangman, and Game class.

    Posted December 20, 2016 9:11am by edumorlom
    edumorlom
    4,073 Points
    • Java
    • Java Objects
    • Creating the MVP
    • Remaining Tries

    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