Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

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.