Question: Create a JAVA PROGRAM that stores and displays information about a set of Affair. Make three separate files for Affair class, AffairTester class and Arranger

Create a JAVA PROGRAM that stores and displays information about a set of Affair. Make three separate files for Affair class, AffairTester class and Arranger class 1)Affair class should simulate a set of Affairs 2) Use four variables for year, month, day and Affair title 3) Include argument constructor and no-argument constructor to initialize the instance variables. 4) Use getter and setter to access each of the instance variables (Eight methods in total.) AffairTester Class must test the methods and constructors of the Affair class 1) Construct two objects for argument constructer and no-argument constructor 2) On argument constructor, call all the getter methods to make sure the instance variables were initialized correctly 3) On no-argument constructor, call all the setter methods and set the instance variables to the values of your choosing 4) Call all the getter methods to make sure the setters worked correctly Arranger Class: This class will use the Affair class to simulate 3 sets of affairs 1) Create 3 objects of the Affair class using the argument constructor Set the values of the instance variables to the information of your choosing 2) Using the getter methods, display each set of Affair information as a sentence 1:38 PM O Type here to search 1/29/2018
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
