Arama butonu
Bu konudaki kullanıcılar: 1 misafir
6
Cevap
273
Tıklama
0
Öne Çıkarma
Java stack şarkı listesi yardımı
G
7 yıl
Binbaşı
Konu Sahibi

Write an object oriented program for “Media Player” that alphabetically sorts the songs in the
playlist by using two stacks.
A song has some features like name, singer and recorded year.
Example:
Song[] s = new Songs[4];
s[0] = new Song(“Good bye my lover”, “James Blunt”, 2006);
s[1] = new Song(“Rolling in the deep”, “Adele Laurie Blue Adkins”, 2010);
s[2] = new Song(“I have nothing”, “Whitney Houston”, 1992);
s[3] = new Song(“Better than you”, “Metallica”, 1999);
Hint: Create Song class and Playlist class. Sorting method must be in the playlist class.


Kodda bazı hatalarım var düzeltebilecek olan varsa kodu atabilirim dm den