Skip to main content

Notice: Workspaces are undergoing maintenance and are temporarily unavailable.

🚀 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
  • Dinu Comendant
    Dinu Comendant
    6,049 Points

    mMenu

    Posted April 30, 2019 5:10pm by Dinu Comendant
    Dinu Comendant
    6,049 Points
    • Java
    • Java Data Structures
    • Efficiency!
    • Design the UI

    0 Answers

  • Dinu Comendant
    Dinu Comendant
    6,049 Points

    Confused how mReader works and what it does

    Posted April 26, 2019 8:23am by Dinu Comendant
    Dinu Comendant
    6,049 Points
    • Java
    • Java Data Structures
    • Efficiency!
    • Design the UI

    0 Answers

  • <noob />
    <noob />
    17,063 Points

    Seeking an explantion about few lines of code on this video

    Posted December 24, 2018 5:59pm by <noob />
    <noob />
    17,063 Points
    • Java
    • Java Data Structures - Retired
    • Efficiency!
    • Design the UI

    10 Answers

  • Sean M
    Sean M
    7,344 Points

    Java: Design the UI

    Posted December 6, 2018 3:52pm by Sean M
    Sean M
    7,344 Points
    • Java
    • Java Data Structures - Retired
    • Efficiency!
    • Design the UI

    1 Answer

  • Jan Kalasnikov
    Jan Kalasnikov
    7,167 Points

    what does entrySet() means?

    Posted November 6, 2018 7:17pm by Jan Kalasnikov
    Jan Kalasnikov
    7,167 Points
    • Java
    • Java Data Structures
    • Efficiency!
    • Design the UI

    1 Answer

  • Tai Do
    Tai Do
    2,312 Points

    Why does it throw an exception?

    Posted July 26, 2018 2:55am by Tai Do
    Tai Do
    2,312 Points
    • Java
    • Java Data Structures
    • Efficiency!
    • Design the UI

    1 Answer

  • Kishan Gupta
    Kishan Gupta
    6,567 Points

    Map.Entry<String, String>

    Posted July 9, 2018 2:11pm by Kishan Gupta
    Kishan Gupta
    6,567 Points
    • Java
    • Java Data Structures
    • Efficiency!
    • Design the UI

    1 Answer

  • Andre Kucharzyk
    Andre Kucharzyk
    4,479 Points

    Why we had to import an exception in this exercise?

    Posted March 6, 2018 8:45pm by Andre Kucharzyk
    Andre Kucharzyk
    4,479 Points
    • Java
    • Java Data Structures - Retired
    • Efficiency!
    • Design the UI

    3 Answers

  • Andre Kucharzyk
    Andre Kucharzyk
    4,479 Points

    Can somebody say more about why we use new BufferedReader

    Posted March 4, 2018 10:33pm by Andre Kucharzyk
    Andre Kucharzyk
    4,479 Points
    • Java
    • Java Data Structures - Retired
    • Efficiency!
    • Design the UI

    1 Answer

  • Gustavo Winter
    PLUS
    Gustavo Winter
    Courses Plus Student 27,382 Points

    Don't get the syntax.

    Posted September 13, 2017 4:49pm by Gustavo Winter
    Gustavo Winter
    Courses Plus Student 27,382 Points
    • Java
    • Java Data Structures
    • Efficiency!
    • Design the UI

    3 Answers

  • Siu KWAN Yuen
    PLUS
    Siu KWAN Yuen
    Courses Plus Student 2,898 Points

    console or GUI

    Posted August 12, 2017 2:01pm by Siu KWAN Yuen
    Siu KWAN Yuen
    Courses Plus Student 2,898 Points
    • Java
    • Java Data Structures
    • Efficiency!
    • Design the UI

    0 Answers

  • Clive Shenje
    Clive Shenje
    2,585 Points

    Javac file not found now I can't upload new files to the Workspace

    Posted August 4, 2017 11:29am by Clive Shenje
    Clive Shenje
    2,585 Points
    • Java
    • Java Data Structures
    • Efficiency!
    • Design the UI

    1 Answer

  • Same Lunik
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Same Lunik
    Java Web Development Techdegree Student 1,710 Points

    How does the for in promptAction() works

    Posted June 29, 2017 12:40am by Same Lunik
    .a{fill-rule:evenodd;}techdegree
    Same Lunik
    Java Web Development Techdegree Student 1,710 Points
    • Java
    • Java Data Structures - Retired
    • Efficiency!
    • Design the UI

    1 Answer

  • Esdras Lopez
    Esdras Lopez
    6,255 Points

    How do you decide where is a good place to catch an exception?

    Posted April 5, 2017 7:26pm by Esdras Lopez
    Esdras Lopez
    6,255 Points
    • Java
    • Java Data Structures
    • Efficiency!
    • Design the UI

    1 Answer

  • Tomas Verblya
    Tomas Verblya
    1,998 Points

    Problem with the objective.

    Posted February 12, 2017 8:00pm by Tomas Verblya
    Tomas Verblya
    1,998 Points
    • Java
    • Java Data Structures - Retired
    • Efficiency!
    • Design the UI

    2 Answers

  • Ly Nguyen
    Ly Nguyen
    8,749 Points

    How do you know where to put a file?

    Posted November 8, 2016 1:49am by Ly Nguyen
    Ly Nguyen
    8,749 Points
    • Java
    • Java Data Structures
    • Efficiency!
    • Design the UI

    3 Answers

  • dlpuxdzztg
    dlpuxdzztg
    8,243 Points

    A few questions.

    Posted June 3, 2016 10:53pm by dlpuxdzztg
    dlpuxdzztg
    8,243 Points
    • Java
    • Java Data Structures
    • Efficiency!
    • Design the UI

    1 Answer

  • Rakib Ahmed
    Rakib Ahmed
    156 Points

    Full explanation of the throw and throws keywords please.

    Posted May 8, 2016 11:52am by Rakib Ahmed
    Rakib Ahmed
    156 Points
    • Java
    • Java Data Structures - Retired
    • Efficiency!
    • Design the UI

    3 Answers

  • Derek Derek
    Derek Derek
    8,744 Points

    importing packages

    Posted April 22, 2016 5:45am by Derek Derek
    Derek Derek
    8,744 Points
    • Java
    • Java Data Structures
    • Efficiency!
    • Design the UI

    0 Answers

  • Maxwell Nelson
    Maxwell Nelson
    9,465 Points

    Using classes/interfaces as member variables and method parameters.

    Posted March 24, 2016 2:06pm by Maxwell Nelson
    Maxwell Nelson
    9,465 Points
    • Java
    • Java Data Structures
    • Efficiency!
    • Design the UI

    2 Answers

  • Sagar Pednekar
    PLUS
    Sagar Pednekar
    Courses Plus Student 681 Points

    About run() method ?

    Posted December 3, 2015 7:54am by Sagar Pednekar
    Sagar Pednekar
    Courses Plus Student 681 Points
    • Java
    • Java Data Structures
    • Efficiency!
    • Design the UI

    0 Answers

  • Prasoon Shukla
    Prasoon Shukla
    3,426 Points

    Parameters in a constructoer

    Posted November 22, 2015 12:30pm by Prasoon Shukla
    Prasoon Shukla
    3,426 Points
    • Java
    • Java Data Structures - Retired
    • Efficiency!
    • Design the UI

    2 Answers

  • Kevin Faust
    Kevin Faust
    15,353 Points

    whyd we put throws IOException after the method???

    Posted September 13, 2015 8:39pm by Kevin Faust
    Kevin Faust
    15,353 Points
    • Java
    • Java Data Structures
    • Efficiency!
    • Design the UI

    3 Answers

  • Kevin Faust
    Kevin Faust
    15,353 Points

    more information on this: new BufferedReader (new InputStreamReader(System.in));

    Posted September 13, 2015 4:35pm by Kevin Faust
    Kevin Faust
    15,353 Points
    • Java
    • Java Data Structures
    • Efficiency!
    • Design the UI

    2 Answers

  • Grigorij Schleifer
    Grigorij Schleifer
    10,365 Points

    Difference between Scanner and BufferedReader

    Posted July 26, 2015 10:39am by Grigorij Schleifer
    Grigorij Schleifer
    10,365 Points
    • Java
    • Java Data Structures - Retired
    • Efficiency!
    • Design the UI

    1 Answer

  • Grigorij Schleifer
    Grigorij Schleifer
    10,365 Points

    Why instance variables must be signed as private???

    Posted July 26, 2015 10:19am by Grigorij Schleifer
    Grigorij Schleifer
    10,365 Points
    • Java
    • Java Data Structures - Retired
    • Efficiency!
    • Design the UI

    2 Answers

  • Parker Busswood
    Parker Busswood
    20,207 Points

    Why do we use BufferedReader and InputStreamReader?

    Posted July 6, 2015 7:44pm by Parker Busswood
    Parker Busswood
    20,207 Points
    • Java
    • Java Data Structures - Retired
    • Efficiency!
    • Design the UI

    1 Answer

  • Andrea Miotto
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Andrea Miotto
    iOS Development Techdegree Graduate 23,357 Points

    Set, HashSet, Map, HashMap, TreeSet, TreeMap

    Posted May 28, 2015 12:38pm by Andrea Miotto
    .a{fill-rule:evenodd;}techdegree seal-36
    Andrea Miotto
    iOS Development Techdegree Graduate 23,357 Points
    • Java
    • Java Data Structures
    • Efficiency!
    • Design the UI

    1 Answer

  • Adiv Abramson
    Adiv Abramson
    6,919 Points

    HashMap order isn't guaranteed. Won't menu options appear in different order each time program is run?

    Posted May 18, 2015 7:43pm by Adiv Abramson
    Adiv Abramson
    6,919 Points
    • Java
    • Java Data Structures
    • Efficiency!
    • Design the UI

    1 Answer

  • Michael C
    Michael C
    3,230 Points

    throws IOException after the method signature

    Posted March 19, 2015 3:55pm by Michael C
    Michael C
    3,230 Points
    • Java
    • Java Data Structures
    • Efficiency!
    • Design the UI

    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