✨ 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!
    • Queueing
    • Close
  • Dinu Comendant
    Dinu Comendant
    6,049 Points

    error: incompatible types: Object cannot be converted to Song

    Posted on May 5, 2019 by Dinu Comendant
    Dinu Comendant
    6,049 Points
    • Java
    • Java Data Structures
    • Efficiency!
    • Queueing

    0 Answers

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

    questions about the <Song> object that we pass to queue and to other interfaces.

    Posted on Dec 27, 2018 by <noob />
    <noob />
    17,063 Points
    • Java
    • Java Data Structures - Retired
    • Efficiency!
    • Queueing

    1 Answer

  • js93
    js93
    1,933 Points

    NullPointerException

    Posted on May 25, 2018 by js93
    js93
    1,933 Points
    • Java
    • Java Data Structures
    • Efficiency!
    • Queueing

    1 Answer

  • Manh Truong Nguyen
    Manh Truong Nguyen
    2,021 Points

    i dont understanding this line of code plz help

    Posted on May 10, 2018 by Manh Truong Nguyen
    Manh Truong Nguyen
    2,021 Points
    • Java
    • Java Data Structures - Retired
    • Efficiency!
    • Queueing

    2 Answers

  • annapoff
    annapoff
    13,552 Points

    Queueing problems with getting code to work!

    Posted on Nov 9, 2017 by annapoff
    annapoff
    13,552 Points
    • Java
    • Java Data Structures
    • Efficiency!
    • Queueing

    1 Answer

  • Robert Angelo Valencia
    seal-mask
    PLUS
    .a{fill-rule:evenodd;}techdegree seal-36
    Robert Angelo Valencia
    Java Web Development Techdegree Graduate 12,204 Points

    Using Queue vs List

    Posted on Sep 22, 2017 by Robert Angelo Valencia
    .a{fill-rule:evenodd;}techdegree seal-36
    Robert Angelo Valencia
    Java Web Development Techdegree Graduate 12,204 Points
    • Java
    • Java Data Structures
    • Efficiency!
    • Queueing

    2 Answers

  • Hassaan Ahmad
    Hassaan Ahmad
    1,979 Points

    Why is playNext() method made public when it could've been made private as other methods?

    Posted on Sep 3, 2017 by Hassaan Ahmad
    Hassaan Ahmad
    1,979 Points
    • Java
    • Java Data Structures
    • Efficiency!
    • Queueing

    1 Answer

  • edumorlom
    edumorlom
    4,073 Points

    Why are Lists an interface?

    Posted on Jan 2, 2017 by edumorlom
    edumorlom
    4,073 Points
    • Java
    • Java Data Structures
    • Efficiency!
    • Queueing

    3 Answers

  • Lucas Frixione
    Lucas Frixione
    1,332 Points

    I've been stuck for days with a problem i have no idea how to solve

    Posted on Nov 23, 2016 by Lucas Frixione
    Lucas Frixione
    1,332 Points
    • Java
    • Java Data Structures - Retired
    • Efficiency!
    • Queueing

    1 Answer

  • Stuart Keenan
    Stuart Keenan
    3,131 Points

    Queue vs Deque

    Posted on Mar 17, 2016 by Stuart Keenan
    Stuart Keenan
    3,131 Points
    • Java
    • Java Data Structures - Retired
    • Efficiency!
    • Queueing

    1 Answer

  • Vidit Shah
    Vidit Shah
    6,037 Points

    Karaoke Machine Code Please!

    Posted on Mar 3, 2016 by Vidit Shah
    Vidit Shah
    6,037 Points
    • Java
    • Java Data Structures
    • Efficiency!
    • Queueing

    1 Answer

  • Sean Flanagan
    Sean Flanagan
    33,236 Points

    Problem playing a song

    Posted on Aug 13, 2015 by Sean Flanagan
    Sean Flanagan
    33,236 Points
    • Java
    • Java Data Structures - Retired
    • Efficiency!
    • Queueing

    1 Answer

  • Sean Flanagan
    Sean Flanagan
    33,236 Points

    Error in KaraokeMachine

    Posted on Aug 13, 2015 by Sean Flanagan
    Sean Flanagan
    33,236 Points
    • Java
    • Java Data Structures - Retired
    • Efficiency!
    • Queueing

    1 Answer

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

    Make a choose before an add

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

    3 Answers

  • Miguel Angel Rodriguez
    Miguel Angel Rodriguez
    11,280 Points

    Need help with the code challenge

    Posted on May 26, 2015 by Miguel Angel Rodriguez
    Miguel Angel Rodriguez
    11,280 Points
    • Java
    • Java Data Structures
    • Efficiency!
    • Queueing

    1 Answer

  • Adiv Abramson
    Adiv Abramson
    6,919 Points

    Does the user in a user story get modeled as a class, too?

    Posted on May 23, 2015 by Adiv Abramson
    Adiv Abramson
    6,919 Points
    • Java
    • Java Data Structures
    • Efficiency!
    • Queueing

    1 Answer

  • Adiv Abramson
    Adiv Abramson
    6,919 Points

    Do ToDo items have to be processed in the order they appear in that list?

    Posted on May 23, 2015 by Adiv Abramson
    Adiv Abramson
    6,919 Points
    • Java
    • Java Data Structures
    • Efficiency!
    • Queueing

    0 Answers

  • Adiv Abramson
    Adiv Abramson
    6,919 Points

    When a Doing item has been coded, shouldn't it be tested before moving it to the Done column?

    Posted on May 21, 2015 by Adiv Abramson
    Adiv Abramson
    6,919 Points
    • Java
    • Java Data Structures
    • Efficiency!
    • Queueing

    1 Answer

  • Timothy Carpenter
    Timothy Carpenter
    6,342 Points

    My workspace just crashed

    Posted on May 14, 2015 by Timothy Carpenter
    Timothy Carpenter
    6,342 Points
    • Java
    • Java Data Structures
    • Efficiency!
    • Queueing

    3 Answers

  • Michael Timbs
    Michael Timbs
    15,761 Points

    Using Queue

    Posted on May 7, 2015 by Michael Timbs
    Michael Timbs
    15,761 Points
    • Java
    • Java Data Structures - Retired
    • Efficiency!
    • Queueing

    1 Answer

  • Marcos Philipson
    Marcos Philipson
    7,725 Points

    What is the FIFO link on the teacher's notes?

    Posted on Apr 13, 2015 by Marcos Philipson
    Marcos Philipson
    7,725 Points
    • Java
    • Java Data Structures - Retired
    • Efficiency!
    • Queueing

    3 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.