Question: in c + + / * TODO: Test 2 - Getters and Setters * = = = = = = = = = = =
in c
TODO: Test Getters and Setters
For this test, you must add public getters and setters for the Student class
member fields.
The methods must be named:
GetFirstName
GetLastName
GetIDNumber
SetFirstName
SetLastName
SetIDNumber
After making the specified additions in the Student class, create and then
return a new Student object using the default constructor.
Tips:
The application will not compile until the Test and are both completed.
Note: Identifiers method names and variables are casesensitive For example,
SetIdNumber is not the same as SetIDNumber. If a specific name is provided,
you must use the exact name provided.
static Student Test
return ;
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
