Question: Classes & Objects Add a print method/function in the Student class from Exercise 1(You may copy and paste what you have from the previous exercise).



Classes \& Objects 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 6337130SandySantos 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 463114.3168546.q32qy7 LABACTIVITY14.6.1:Classes 0/100 Downloadable files File is marked as read only Current file: main.cpp - Load default template... \begin{tabular}{l|l} LAB & 14.6.1: Classes \end{tabular} 0/100 Downloadable files main.cpp Download Current file: student.cpp - Load default template... 1 // Remember to include student.h
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
