Question: 4. Write a Class statement that defines a class named Tape. The class contains four Private String variables named _strName, _strArtist, _strSongNumber, and _strLength. Name
4. Write a Class statement that defines a class named Tape. The class contains four Private String variables named _strName, _strArtist, _strSongNumber, and _strLength.
Name the corresponding properties TapeName, Artist, SongNumber, and Length.
Then, use the syntax shown in Version 2 in Figure 11-5 to create a Tape object, assigning it to a variable named blues.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
