For this exercise you will need your Album and Song classes from the Playlist Coding Exercise. The Album class will be modified to use an inner class called SongList which will replace the ArrayList ...
class Outer { private val bar: Int = 1 class Nested { fun foo() = 2 } } val demo = Outer.Nested().foo() // == 2 Nested classes cannot directly access members (including private members) of the outer ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results