Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

Java

I am getting this error when I run Karaoke Machine

I am getting this error in my Karaoke machine only different I have done is my Song class is Songs. But i dnt think this bcz of that.... Can someone help without the code or you need the whole code

Picked up JAVA_TOOL_OPTIONS: -Xmx128m
Picked up _JAVA_OPTIONS: -Xmx128m
./com/teamtreehouse/KaraokeMachine.java:47: error: cannot find symbol
mSongBook.addSong(songs);
^
symbol: method addSong(Songs)
location: variable mSongBook of type SongBook
1 error

J.D. Sandifer
J.D. Sandifer
18,813 Points

Please add your code for the SongBook and KaraokeMachine classes to the post. The link to the workspace is not working.

It's better to have it in the question anyway. That way everyone can see it and we don't have to go somewhere else to read your code.

Read the Markdown Cheatsheet using the link below the posting area if you need to see how to format the code nicely.