✨ 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 Data Structures
    • Efficiency!
    • Menu UI
    • Close
  • k doshi
    k doshi
    128 Points

    Why did we pass songBook in KaraokeMachine object?

    Posted on Feb 18, 2019 by k doshi
    k doshi
    128 Points
    • Java
    • Java Data Structures
    • Efficiency!
    • Menu UI

    1 Answer

  • k doshi
    k doshi
    128 Points

    What does this line of code do?

    Posted on Feb 18, 2019 by k doshi
    k doshi
    128 Points
    • Java
    • Java Data Structures
    • Efficiency!
    • Menu UI

    1 Answer

  • Phoenix S.
    Phoenix S.
    2,456 Points

    I keep getting an error even though my code is the exact same

    Posted on Jan 16, 2019 by Phoenix S.
    Phoenix S.
    2,456 Points
    • Java
    • Java Data Structures
    • Efficiency!
    • Menu UI

    2 Answers

  • Pedro Silva
    Pedro Silva
    5,363 Points

    How does the Quit is working?

    Posted on Mar 6, 2018 by Pedro Silva
    Pedro Silva
    5,363 Points
    • Java
    • Java Data Structures
    • Efficiency!
    • Menu UI

    1 Answer

  • Mohammad Abdur Rahman
    Mohammad Abdur Rahman
    1,986 Points

    console error

    Posted on Nov 28, 2017 by Mohammad Abdur Rahman
    Mohammad Abdur Rahman
    1,986 Points
    • Java
    • Java Data Structures - Retired
    • Efficiency!
    • Menu UI

    0 Answers

  • Carl Johnson
    Carl Johnson
    1,232 Points

    Unable to Import Hashmap

    Posted on Sep 15, 2017 by Carl Johnson
    Carl Johnson
    1,232 Points
    • Java
    • Java Data Structures - Retired
    • Efficiency!
    • Menu UI

    1 Answer

  • John Paige
    John Paige
    7,436 Points

    KaraokeMachine.java - mix of errors

    Posted on Jul 20, 2017 by John Paige
    John Paige
    7,436 Points
    • Java
    • Java Data Structures
    • Efficiency!
    • Menu UI

    1 Answer

  • Akhila Mobin
    Akhila Mobin
    4,492 Points

    file does not contain class com.teamtreehouse.KaraokeMachine.java ??

    Posted on Jun 20, 2017 by Akhila Mobin
    Akhila Mobin
    4,492 Points
    • Java
    • Java Data Structures - Retired
    • Efficiency!
    • Menu UI

    3 Answers

  • Ritu K
    Ritu K
    8,277 Points

    Keep getting an error about the KaraokeMachine package in the Karaoke class.

    Posted on May 23, 2017 by Ritu K
    Ritu K
    8,277 Points
    • Java
    • Java Data Structures - Retired
    • Efficiency!
    • Menu UI

    2 Answers

  • Rokas Mazeika
    Rokas Mazeika
    4,243 Points

    I can't fix the errors help

    Posted on Dec 11, 2016 by Rokas Mazeika
    Rokas Mazeika
    4,243 Points
    • Java
    • Java Data Structures
    • Efficiency!
    • Menu UI

    1 Answer

  • Colby Wise
    Colby Wise
    3,165 Points

    Clarification: What is the difference and when to use: "System.out.printf" vs .println vs .print?

    Posted on Dec 4, 2016 by Colby Wise
    Colby Wise
    3,165 Points
    • Java
    • Java Data Structures
    • Efficiency!
    • Menu UI

    2 Answers

  • Konstantinos Pedarakis
    Konstantinos Pedarakis
    21,301 Points

    addSong method vs add method of List

    Posted on Oct 30, 2016 by Konstantinos Pedarakis
    Konstantinos Pedarakis
    21,301 Points
    • Java
    • Java Data Structures
    • Efficiency!
    • Menu UI

    1 Answer

  • Adam Sawicki
    Adam Sawicki
    15,967 Points

    Closing Stream?

    Posted on Aug 15, 2016 by Adam Sawicki
    Adam Sawicki
    15,967 Points
    • Java
    • Java Data Structures - Retired
    • Efficiency!
    • Menu UI

    2 Answers

  • Daniel Springer
    Daniel Springer
    7,600 Points

    Cannot find symbol error when creating KaraokeMachine object

    Posted on Jul 15, 2016 by Daniel Springer
    Daniel Springer
    7,600 Points
    • Java
    • Java Data Structures - Retired
    • Efficiency!
    • Menu UI

    2 Answers

  • jayson maserjian
    jayson maserjian
    2,372 Points

    Answer for the first part of the first question in challenge

    Posted on Jul 10, 2016 by jayson maserjian
    jayson maserjian
    2,372 Points
    • Java
    • Java Data Structures - Retired
    • Efficiency!
    • Menu UI

    2 Answers

  • Kshatriiya .
    Kshatriiya .
    1,464 Points

    javac: file not found

    Posted on Apr 30, 2016 by Kshatriiya .
    Kshatriiya .
    1,464 Points
    • Java
    • Java Data Structures
    • Efficiency!
    • Menu UI

    5 Answers

  • Oussama DJEDIDI
    Oussama DJEDIDI
    4,599 Points

    java.lang.NullPointerException at com.teamtreehouse.KaraokeMachine.promptAction(KaraokeMachine.java:27)

    Posted on Apr 27, 2016 by Oussama DJEDIDI
    Oussama DJEDIDI
    4,599 Points
    • Java
    • Java Data Structures
    • Efficiency!
    • Menu UI

    5 Answers

  • Dylan Carter
    Dylan Carter
    4,780 Points

    how to get a IOException when running the code?

    Posted on Jan 10, 2016 by Dylan Carter
    Dylan Carter
    4,780 Points
    • Java
    • Java Data Structures
    • Efficiency!
    • Menu UI

    0 Answers

  • Joseph Kawa
    Joseph Kawa
    1,807 Points

    Why is KaraokeMachine class not in model folder?

    Posted on Oct 1, 2015 by Joseph Kawa
    Joseph Kawa
    1,807 Points
    • Java
    • Java Data Structures
    • Efficiency!
    • Menu UI

    1 Answer

  • Kiefer Levine
    Kiefer Levine
    6,184 Points

    Console says "Error: Could not find or load main class Karaoke" when I enter "java Karaoke" after compile.

    Posted on Sep 8, 2015 by Kiefer Levine
    Kiefer Levine
    6,184 Points
    • Java
    • Java Data Structures
    • Efficiency!
    • Menu UI

    2 Answers

  • Sean Flanagan
    Sean Flanagan
    33,236 Points

    Problems with KaraokeMachine

    Posted on Aug 11, 2015 by Sean Flanagan
    Sean Flanagan
    33,236 Points
    • Java
    • Java Data Structures - Retired
    • Efficiency!
    • Menu UI

    3 Answers

  • Brent Mayberry
    Brent Mayberry
    1,029 Points

    How does promptNewSong() in KaraokeMachine.java know to use the override for toString()?

    Posted on Jul 26, 2015 by Brent Mayberry
    Brent Mayberry
    1,029 Points
    • Java
    • Java Data Structures
    • Efficiency!
    • Menu UI

    1 Answer

  • Brian Maimone
    PLUS
    Brian Maimone
    Courses Plus Student 1,644 Points

    Getting file not found error for the Karaoke project.

    Posted on Jun 16, 2015 by Brian Maimone
    Brian Maimone
    Courses Plus Student 1,644 Points
    • Java
    • Java Data Structures - Retired
    • Efficiency!
    • Menu UI

    3 Answers

  • Adiv Abramson
    Adiv Abramson
    6,919 Points

    Wouldn't numeric prompts be more user friendly? How will the data be persisted?

    Posted on May 18, 2015 by Adiv Abramson
    Adiv Abramson
    6,919 Points
    • Java
    • Java Data Structures
    • Efficiency!
    • Menu UI

    1 Answer

  • Daniel Babbev
    Daniel Babbev
    10,354 Points

    Message to Craig Dennis

    Posted on May 2, 2015 by Daniel Babbev
    Daniel Babbev
    10,354 Points
    • Java
    • Java Data Structures - Retired
    • Efficiency!
    • Menu UI

    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.