Hey, im making a contact list for a uni project, and i want to add a contact type into my array list, but without using it in the Contact class in which this array list uses. Is there any way that i can add a contact type into this array list without putting it in the Contact class
public void addPersonalContact(String fName, String sName, String street, String town, String partOnePC, String partTwoPC, String phonenumberEmail) { contactList.add(new Contact(fName, sName, street, town, partOnePC, partTwoPC, phonenumberEmail)); }
Thanks in advance.