Question: Add a print method/function in the Student class from Exercise 1(You may copy and paste what you have from the previous exercise). This method doesn't
Add a print method/function in the Student class from Exercise 1(You may copy and paste what you have from the previous exercise). This method doesn't take any argument and returns nothing (void). It only displays the student detail as
6337130 Sandy Santos
In the 'main' function do the following (1) Create a student object "student1".
(2) Use set methods to assign
StudentID: 6337130
firstName: Sandy
lastName: Santos
(3) Display the students detail using the print method: `` 6337130 Sandy Santos
Solve in C++
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
