Constructors can take parameters/arguments like any other method/method call. We do this to adhere to the principles of encapsulation. Sending parameters into a constructor allows the particular class to handle the assigning of values rather than other classes such as the MainWindow. Doing this is necessary when fields become private.