Question: Create a class KKC. -- One data member: private string schoolName, set default value to Kennedy-King College. Create a property for it. -- Create a

Create a class "KKC". -- One data member: private string schoolName, set default value to "Kennedy-King College". Create a property for it. -- Create a method "public virtual string ShowAddress()", return " 7733 South Shore Drive., Chicago, Illinois 60639 "; 2. Create a class "Campus", inheritate "KKC". -- One data memeber: private string campusName. Create a property for it. -- Create a constructor "public Campus(string cName)", set value for campusName. -- override ShowAddress(), return "7143 South Princeton., Chicago, Illinois 60639 "; -- Create "public string Departments()", return "Computer Science Department, Emergency Care Department, Police Academy"; -- override ToString(), use above properties and methods to display the following result when it is called. Daytona State College Advanced Technology College is located at 7143 South Princeton., Chicago, Illinois 60639, it has Computer Science Department, Emergency Care Department, Police Academy 3. In main() static void Main(string[] args) { Campus atc = new Campus("Advanced Technology College"); Console.WriteLine(atc.ToString()); }

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!