Home > Net > Derived class program written in c #, for help,!!!!!
Derived class program written in c #, for help,!!!!!
Time:03-12
In c # to build a human (Person) and students (Student) functional requirements: A, Person contains four members to protect the data type name, address, sex, age, respectively, as A string, the string of characters, and integers, said: name, address, gender and age, A four constructor, A no constructor, and an output method is used to display the four attributes, B, Student inheritance Person, and increase the output members, math, English for math and English, a six construction method, a two constructors, one with no arguments constructor, rewrite the output method is used to display all six attributes