Create a constructor that accepts values for each data field . Create instance variables in the constructor that correspond to each data field passed to the constructor. Set each instance variable to the value of the corresponding data field passed in.
Part 1 (15pts): Create a class named Apartment that holds an apartment number, number of bedrooms, number of baths, and rent amount. Include the following in the class: Create a constructor that accepts values for each data field . Create instance variables in the constructor that correspond to each data field passed to the constructor. […]