🤑 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

  • 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
  • Jonathan Mitten
    PLUS
    Jonathan Mitten
    Courses Plus Student 11,197 Points

    NullPointerException at Game.getRemainingTries line 35

    Posted January 7, 2017 12:38am by Jonathan Mitten
    Jonathan Mitten
    Courses Plus Student 11,197 Points
    • Java
    • Java Objects (Retired)
    • Creating the MVP
    • Remaining Tries

    1 Answer

  • Anas Rida
    Anas Rida
    8,183 Points

    where to write each piece of code

    Posted July 9, 2016 6:00pm by Anas Rida
    Anas Rida
    8,183 Points
    • Java
    • Java Objects (Retired)
    • Creating the MVP
    • Remaining Tries

    1 Answer

  • Shanu Agarwal
    PLUS
    Shanu Agarwal
    Courses Plus Student 700 Points

    I have a doubt that about static with final

    Posted July 4, 2016 3:55pm by Shanu Agarwal
    Shanu Agarwal
    Courses Plus Student 700 Points
    • Java
    • Java Objects (Retired)
    • Creating the MVP
    • Remaining Tries

    2 Answers

  • gregory gordon
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    gregory gordon
    Full Stack JavaScript Techdegree Student 14,652 Points

    ./Prompter.java:11: error: cannot find symbol

    Posted July 3, 2016 1:53am by gregory gordon
    .a{fill-rule:evenodd;}techdegree
    gregory gordon
    Full Stack JavaScript Techdegree Student 14,652 Points
    • Java
    • Java Objects (Retired)
    • Creating the MVP
    • Remaining Tries

    1 Answer

  • Ronald Maldo
    Ronald Maldo
    5,532 Points

    I'm getting error upon compiling on eclipse but was successful running on the workspace of treehouse.

    Posted May 19, 2016 5:46am by Ronald Maldo
    Ronald Maldo
    5,532 Points
    • Java
    • Java Objects (Retired)
    • Creating the MVP
    • Remaining Tries

    2 Answers

  • KHARAK SINGH
    KHARAK SINGH
    1,061 Points

    Can somebody explain dot operator?

    Posted May 2, 2016 12:06am by KHARAK SINGH
    KHARAK SINGH
    1,061 Points
    • Java
    • Java Objects (Retired)
    • Creating the MVP
    • Remaining Tries

    2 Answers

  • Jordan Bester
    Jordan Bester
    4,752 Points

    Why does my code in the console show the letter that I am aiming to guess? please help

    Posted May 1, 2016 9:09pm by Jordan Bester
    Jordan Bester
    4,752 Points
    • Java
    • Java Objects (Retired)
    • Creating the MVP
    • Remaining Tries

    2 Answers

  • Caprice Logan
    Caprice Logan
    4,521 Points

    Why does .length return 5 instead of 4?

    Posted April 16, 2016 2:45pm by Caprice Logan
    Caprice Logan
    4,521 Points
    • Java
    • Java Objects (Retired)
    • Creating the MVP
    • Remaining Tries

    1 Answer

  • Heather Gray
    Heather Gray
    6,225 Points

    exposing variable "off the class"?

    Posted March 25, 2016 3:16am by Heather Gray
    Heather Gray
    6,225 Points
    • Java
    • Java Objects (Retired)
    • Creating the MVP
    • Remaining Tries

    1 Answer

  • Pablo Fernández Monterde
    Pablo Fernández Monterde
    7,191 Points

    Exercises recovering

    Posted March 22, 2016 1:46pm by Pablo Fernández Monterde
    Pablo Fernández Monterde
    7,191 Points
    • Java
    • Java Objects (Retired)
    • Creating the MVP
    • Remaining Tries

    1 Answer

  • Oshedhe Munasinghe
    Oshedhe Munasinghe
    8,108 Points

    "public static final int MAX_MISSES = 7;" static??

    Posted February 6, 2016 8:05pm by Oshedhe Munasinghe
    Oshedhe Munasinghe
    8,108 Points
    • Java
    • Java Objects (Retired)
    • Creating the MVP
    • Remaining Tries

    2 Answers

  • kabir k
    PLUS
    kabir k
    Courses Plus Student 18,036 Points

    My method is returning the integer 8 instead of 1

    Posted February 5, 2016 12:22pm by kabir k
    kabir k
    Courses Plus Student 18,036 Points
    • Java
    • Java Objects (Retired)
    • Creating the MVP
    • Remaining Tries

    3 Answers

  • Dylan Carter
    Dylan Carter
    4,780 Points

    cant solve these errors

    Posted January 1, 2016 10:08pm by Dylan Carter
    Dylan Carter
    4,780 Points
    • Java
    • Java Objects (Retired)
    • Creating the MVP
    • Remaining Tries

    1 Answer

  • Eric Park
    Eric Park
    4,557 Points

    Calling a method

    Posted November 25, 2015 4:12am by Eric Park
    Eric Park
    4,557 Points
    • Java
    • Java Objects (Retired)
    • Creating the MVP
    • Remaining Tries

    1 Answer

  • Hector Torres
    Hector Torres
    4,802 Points

    Can't solve this error....

    Posted November 13, 2015 2:39am by Hector Torres
    Hector Torres
    4,802 Points
    • Java
    • Java Objects (Retired)
    • Creating the MVP
    • Remaining Tries

    1 Answer

  • Christopher Bullington
    Christopher Bullington
    740 Points

    Exception related to %s

    Posted October 23, 2015 9:36pm by Christopher Bullington
    Christopher Bullington
    740 Points
    • Java
    • Java Objects (Retired)
    • Creating the MVP
    • Remaining Tries

    1 Answer

  • Bart van Ackooij
    Bart van Ackooij
    6,283 Points

    What is the idea/purpose of the Hangman track?

    Posted September 27, 2015 5:24pm by Bart van Ackooij
    Bart van Ackooij
    6,283 Points
    • Java
    • Java Objects (Retired)
    • Creating the MVP
    • Remaining Tries

    3 Answers

  • MINJUN MOON
    MINJUN MOON
    7,723 Points

    Error messages come out repeatly, 'cannot find symbol, class object'

    Posted July 19, 2015 12:24am by MINJUN MOON
    MINJUN MOON
    7,723 Points
    • Java
    • Java Objects (Retired)
    • Creating the MVP
    • Remaining Tries

    1 Answer

  • luis martinez
    luis martinez
    2,480 Points

    why on the class game.java method getRemainingTries() you put mMisses.lenght(); why cant you just put mMisses();

    Posted April 2, 2015 2:52am by luis martinez
    luis martinez
    2,480 Points
    • Java
    • Java Objects (Retired)
    • Creating the MVP
    • Remaining Tries

    1 Answer

  • ISAIAH S
    ISAIAH S
    1,409 Points

    error: ^ ./Game.java:34: error: ';' expected...

    Posted February 16, 2015 2:33pm by ISAIAH S
    ISAIAH S
    1,409 Points
    • Java
    • Java Objects (Retired)
    • Creating the MVP
    • Remaining Tries

    2 Answers

  • Benjamin Lush
    Benjamin Lush
    2,707 Points

    [SOLVED] What happens at this stage when you successfully guess the word?

    Posted January 26, 2015 6:17pm by Benjamin Lush
    Benjamin Lush
    2,707 Points
    • Java
    • Java Objects (Retired)
    • Creating the MVP
    • Remaining Tries

    1 Answer

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.