Hey. So I have to have an array of Events of Different sizes (Classes and Objects) like below.
Event[] September = new Event[30];
Event[] October = new Event[31];
Is it possible to produce an output like this
class Event
{
private String TimeofEvent;
private String startingTime;
private int priority;
public Event(String TimeofEvent, String startingTime, int priority)
{
this.TimeofEvent = TimeofEvent;
this.startingTime = startingTime;
this.priority = (int)(Math.random() *3) + 1;
}
public String toString()