Question: in c + + / * TODO: Test 2 - Getters and Setters * = = = = = = = = = = =

in c++
/* TODO: Test 2- 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 1 and 2 are both completed.
*- Note: Identifiers (method names and variables) are case-sensitive. For example,
* SetIdNumber is not the same as SetIDNumber. If a specific name is provided,
* you must use the exact name provided.
*/
static Student Test2()
{
return {};
}

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!