Question: Part 1 : Create a class diagram that represents the description below. Vickers school is an elementary school that has two types of stakeholders (
Part :
Create a class diagram that represents the description below.
Vickers school is an elementary school that has two types of stakeholders teachers and students where a teacher can be assigned many students.
Every stakeholder has an id name, and gender. A student has number of classes assigned and an attendance score.
Part :
Create the classes needed to map the objects in the description above to code showing OOP practice.
Abstraction: The abstraction comes from the base class Stakeholder that will have a method or function called public abstract string DisplayProfile; returns a profile of a particular stakeholder
Encapsulation: Need to show the proper data, operation, and access modifiers.
Inheritance: Reuse as much as possible. Do not forget to "override DisplayProfile
Polymorphism: Show polymorphism behavior in your code.
Output example:
You chose to look at a student's profile. Here you go:
Student ID:
Student name: Sanad
Number of classes assigned:
Attendance score:
In C#
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
