Java - Spoken Tutorials - Assignments Funded by the National Mission on Education through ICT ------------------------------------------------------------------------------------- Static Methods (a) Design a class CarService to represent a Car Service Station (b) This class should contain variables to represent the following: - Name of the Service Station - Car make, model, regno and status - No. of Cars in for Service - No. of Cars out after Service (c) Define a method service(Car c) which updates the status to "out" and accordingly modify the values for - No. of Cars in for Service - No. of Cars out after Service (d) Define a method show() to print the values of all the variables (e) Identify the Instance variables and Static variables (f) Identify the Instance methods and Static methods (g) Define a constructor to initialise the values for Car make, model, regno and status (h) Also create a Demo class containing the main method - Create a few objects of CarService - Invoke the service() method on some of them - Invoke the show() method using all the objects and verify the results