Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
Well done!
You have completed Java Data Structures!
You have completed Java Data Structures!
Preview
Let's develop a way for users to browse artists and songs and choose them easily.
Resources
- The Diamond - (halfway down the page)
- Cache invalidation is hard
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign upRelated Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
So I'm going to move this card here
over to Doing.
0:00
As a singer,
I should be able to browse the songs
0:02
by artists
so that I know what's available.
0:04
So if this were on the web, I'd suggest
we just produce a list of links.
0:07
But since we're console-based, we'll need
to create our own little interface.
0:11
How about we make a way to display a list
of numbered items,
0:15
and then have someone choose an item
from that list?
0:18
So, in Karaoke Machine,
0:22
we'll make a reusable helper function,
but we don't need to expose it, right?
0:24
So let's make it private.
0:28
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up