Question: Goal: Learn to write classes from a problem statement and use them to solve it . The program should store this data in a list
Goal: Learn to write classes from a problem statement and use them to solve it The program should store this data in a list of Student objects called students and then print the data for each one as
shown exactly in the following example.
Note: For the mutators and accessors, use the convention of set
Assignment: Write a class named Student that holds the following data about the student:
Name
ID Number
Department
Study Program
Make sure all the attributes cannot be accessed outside the class, and implement mutators and accessors for each.
Once you have written the class, write a program that creates a Student object for each of the following rows:
The program should store this data in a list of Student objects called students and then print the data for each one as
shown exactly in the following example.
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
