public static void main(String[] args){
Employee [] employeeList =
{
// build your list here
};
}
how exactly do i build my array.
the array is just 2 strings that are defined in another class.
class Employee
{
protected String name;
protected String jobTitle;
Employee(String n, String title)
{
name = n;
jobTitle = title;
}
}