I am trying to create a Person class, with a constructor that initiates the instance variables with the given parameters, but when a new person object is created through mai
This is not a constructor; because of void, it's a method.
public void Person(String first, String middle, String last, String dateOfBirth){
There was no explicit constructor, so the Java compiler created a default, no-arg constructor. That explains the part of the error message that states:
required: no arguments
Remove the void to turn it into a constructor.
public Person(String first, String middle, String last, String dateOfBirth){