a. The main method will keep track of information for 5 room reservationsobjects all for 1 night i. Be sure to use looping, somewhere in the main java file. ii. Create a method that will catch the object and create it.Remember you can pass by reference or return the object backto the main iii. Create a method to handle printing out each of the objects to the screen and the total for each room. (You can set this total in the Room Class if you wish.) iv. Finally Create a method that will show out the grand total (I amnot requiring tax this time.)

Fig: 1

Fig: 2

Fig: 3

Fig: 4

Fig: 5