Create templates that will be used to register each category


Assignment task: Must be in c# and run in visual studio

You have been recently appointed as the administrator of the registration of schools, colleges and universities by the local government. As a programmer you would like to implement the concepts of object-oriented programming by creating a template or blue print for each category of learning institutions. Create templates that will be used to register each category according to the following guidelines.

a. Make a class called School that has the following members:

  • variables (schoolName, location, district, province, privateInstitution, rank)
  • constructor to initialize the variables
  • getter and setter methods for the variables
  • a method that sets the rank of the school
  • a method to print the school object

b. Make a class called College that inherits from the School class:

  • Add a variable called "type" and
  • Include getter and setter for the variable
  • Include a constructor that calls the super constructor.
  • Override the method to print object

c. Make a class called University:

  • Include one member variable called rating
  • Override the method to print object

d. Make objects of type school, college and university.

e. Make an ArrayList and add the objects to the ArrayList.

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: Create templates that will be used to register each category
Reference No:- TGS03251990

Expected delivery within 24 Hours