Question: Create a constructor for Student that has the student s name, major, and GPA. Create 5 students / instances . Create the following methods
Create a constructor for Student that has the students name, major, and GPA.
Create studentsinstances
Create the following methodsfunctions:
printStudent return the information for all students.
printSpecificMajorStudentsmajor return students information with specific major
printStudentSpicificGPAgpa return students information with specific GPA
ListStudents r TN eturn a list of the name of all students"
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
