So Confused (array/arrayList in constructor)

This is the first Java Lab that I have encountered which I can not complete on my own, and it has started to really frustrate me.

THANKS FOR READING

My Lab Instructions

Write a program that keeps a list of all our CDs. Each CD contains the name of CD, name of songs, and the name of artist. For this purpose, there is a class called CD with the following instance fields:
String cdName
String[] songName (you can assume that each CD has 20 songs)
String artistName
You need to implement a method called printCD that prints the name of all songs.

There will be another class called CDList that is an array list of CDs. This is basically your CD collection. For this class, you will have a method that calls the printCD method of CD class to print the name of all songs in your CD collection.

The CDTester, should create objects belong to CD and pass them to CDList to keep them in an array list. Then the name of all the songs should be printed.

You either need to add parameters to your new CD or create a default constructor and add in getter/setter methods to your CD class.

Liberty has never come from the government.
Liberty has always come from the subjects of government.
The history of liberty is the history of resistance.
The history of liberty is a history of the limitation of governmental power, not the increase of it.

Liberty has never come from the government.
Liberty has always come from the subjects of government.
The history of liberty is the history of resistance.
The history of liberty is a history of the limitation of governmental power, not the increase of it.

like he said.
see it as a printer.
a printer wont print unless you tell hem what to print.
new printTask(); wont work cause what does he has to print
new printTask("print this") will work.
this is because printers are made to accept that string and print it.
your method cd
public CD(String albumName, String artistName, String[] songName)
is made so it only creates a cd if you give him an albumName,artistName and songnames.
if you call new CD() he doesn't do something because you don't tell hem what he wants. a printer wants text, your cd wants an albumName,artistName and songnames.