In: Computer Science
Course name object oriented programming.
3) Define the following methods:
- constructors: create two constructors with and without parameters.
- setName: this method sets the name of the School.
- getName: this method returns the name.
- setPhone: this method sets the phone number.
- getPhone: this method returns the phone number.
- setType: this method sets the type of the school.
- getType: this method returns the type of the school.
- toString: this method returns a string the contains the full information about a school.