Skip to content

DojiDoe/cursor-hw4-SpringDi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

  1. Create 2 services and a POJO class: ClassicalMusicPlayer – which will contain a method that can play classical music. There should be a field (some kind of list) with music tracks. RockMusicPlayer - which will contain a method that can play rock music. Each of these services has a list with 2 musical compositions of the corresponding types. Musical composition class which has 2 fields - the name of the song and its artist. Create a Music Player service (MusicPlayer - 3 service) and inject 2 created services into it. The class should have 2 methods for playing music, depending on the method called, the appropriate music will be played. Complete this task using 3 types of configurations.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages