A Student Class
STUDENT
(private) #
#Name
#Number
#Fees
New (Name, Number, Fees)
Calculate Fees() : Integer
Children Class:
On Campus Student
-CampusID
New( CampusID)
Another Child Class:
Online Student
-CourseKey
New(CourseKey)
Another Child Class:
International Studen
-RegionalCode
New (RegionalCode)
CalculateFees()
STUDENT class implementation:
Public Overidable Function CalculateFees () As Integer
End Function
International Student Implementation:
Public Overides Function CalculateFees () As Integer
You should 'Tag' or label your posts so that you can easily find your content again. If you're not sure how, remind me to show you :)
ReplyDelete