Question from my Java class that I don't understand:
Declare a multi-dimensional array of type Person that can be used to store a chore list for a group of people for every day of the week and every week of the year.
How do I declare this? It would be Dimension1 person D2 String D3 int d4 int.
I thought you couldnt have different types so maybe im misunderstanding question? Thanks for any help.
Here's person class:
package ProvidedClasses;
public class Person
{
private String name;
public Person()
{
name = "John Doe";
}
public String getName()
{
return name;
}
}