I have to create a Media Library for a tasksheet, which stores Peoples Information (Normal People, Artists, Bands) and Media(Audio [audio length - type String] Video[Size - type String])
I started creating a MediaContainer Class, which (through ArrayList) allows me to store information of type String. So I thought I would simply create two classes (MediaContainer which is supposed to hold the data, and Information Class which has all the methods to fill it - I'm a beginner so extra question: am I doing it right?)
The Help i really need is assurance or advice from more experienced users in a form of feedback (so i know i'm heading the right way). This is how far I am -
import java.util.ArrayList;
public class MediaContainer {
ArrayList<String> Media = new ArrayList<String>();
public MediaContainer(String addmedia) {
Media.add(addmedia);
System.out.println("this is the list :"+Media);
}
}
How should I proceed? Many thanks in advance!