News
Next, we define an instance of the Song class, setting both fields via the constructor. We then output the fields to the console. The point is that song1.artist is not visible to the outside world ...
Results that may be inaccessible to you are currently showing.
Hide inaccessible results