Question 2 (Marks: 30) Write a Java console application to print a report and determine if a hospital is due for a health inspection. Make use of an abstract class named Inspection that contains variables to store the hospital location, hospital name, and the years since the last inspection. This class also creates methods to get the hospital location, name, and years since the last hospital inspection by using the get methods. Create a constructor that accepts the hospital location, name, and years since the last inspection as parameters.
qualityassignments.net is a custom writing service that provides online on-demand writing work for assistance purposes. All the work should be used in accordance with the appropriate policies and applicable laws.
Send us an SMS or a WhatsApp message
+1 (940) 305-2632