Question
Can someone help me with this in C# and not in Java? I am needing the UML and the code in C#. Create OO classes
Can someone help me with this in C# and not in Java? I am needing the UML and the code in C#.
Create OO classes using an object-oriented programming language that contains inherited and polymorphic members from a UML diagram
Create abstracted classes and members using an object-oriented programming language based on a UML diagram
Implement inheritance and polymorphism using an object-oriented programming language based on a UML diagram
To conclude the project, use the UML diagram you created last week and create an application in Visual Studio named School. Once you have written the code, be sure and test it to ensure it works before submitting it. Below is the UML diagram for the basic class we created last week for your reference, but for this project be sure you use the one that you created last week.
Person |
-firstName : String -lastName : String -gender : Char -dateOfBirth : String -idNumber : string |
+Person() +setFirstName(in aFirstName : string) : void +setLastName(in aLastName : string) : void +setGender(in aGender : char) : void +setDateOfBirth(in aDateOfBirth : string) : void +setIdNumber(in aIdNumber : string) : void +GetFirstName() : string +GetLasstName() : string +GetGender() : char +GetDateOfBirth() : string +GetIdNumber() : string +CreateEmailAddress() : void +Display():string |
Student |
-rollNo : String -class : String -division : Char |
+Student() +setRollNo(in aRollNo : string) : void +setClass(in aClass: string) : void +setDivision(in aDivision : char) : void +GetRollNo() : string +GetClass() : string +GetDivision() : char |
Staff |
-designation : String -departmentName : String -salary : integer -perquisiteApplicable : Boolean |
+Staff() +setDesignation(in aDesignation : string) : void +setDepartmentName(in aDepartmentName: string) : void +setSalary(in aSalary : integer) : void +setPerquisiteApplicable(in aPerquisiteApplicable : bool) : void +GetDesignation() : string +GetDepartName() : string +GetSalary() : integer +GetPerquisiteApplicable() : Boolean |
Faculty |
-category : String -departmentName : String -classTeacher : String -subject : array[] -salary : integer -joingDate : Date |
+Faculty() +setCategory(in aCategory : string) : void +setDepartmentName(in aDepartmentName: string) : void +setClassTeacher(in aSalary : String) : void +setSubject(in aSubject : Array[]) : void +setJoiningDate(in aJoiningDate : Date) : Void +GetCategory() : string +GetDepartName() : string +GetSalary() : integer +GetClassTeacher() : string +GetJoiningDate(): Date |
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started