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 trialannapoff
13,552 PointsQueueing problems with getting code to work!
So I'm following along and I can't get my code to work. I believe that my code matches Craig's, but i can't get it to compile. Can someone look my code over and tell me why i keep getting this error?
./com/teamtreehouse/KaraokeMachine.java:95: error: cannot find symbol
List<String> artists = new ArrayList<>(mSongBooks.getArtists());
^
symbol: variable mSongBooks
location: class KaraokeMachine
1 error
any help would be much appreciated!
1 Answer
Doli Harahap
6,246 PointsYour variable of "mSongBooks" contains "s".
annapoff
13,552 Pointsannapoff
13,552 Pointsfixed it! (mSongBook.getArtist()); sorry for the silly question, i must have been really tired. lol Thank you for your help!