Question: a 1. Write the class Student which includes: (12 marks) a) 3 attributes: Student ID (which is unique), name, and GPA. b) a zero-arg constructor

a 1. Write the class Student which includes: (12 marks) a) 3 attributes: Student ID (which is unique), name, and GPA. b) a zero-arg constructor and a mutli-arg constructor. c) getter and setter for GPA attribute. d) toString() method which overrides the Object's toString() method. e) equals() method which overrides the object's equals() method
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
