Question: Define a Student class containing two private attributes stdId, level. Provide this class with: a . a constructor allowing the initialization of its attributes. b
Define a Student class containing two private attributes stdId, level. Provide this class with:
a a constructor allowing the initialization of its attributes.
b Provide a set and get methods for level data member.
c Method named displayInfo to print the Student's information.
Test your software in the main function:open deriver file main.cpp
Creates Student object named Std
print Stdobject details, who belongs to level
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
