A student class is a blueprint or template that defines the properties and behaviors of a student object. It specifies what data (such as name, grade level) and methods (such as calculateGPA()) a student object can have.
Related terms
gradeLevel: The gradeLevel is a data property of the student class that represents the academic year or level of the student.
The name is a data property of the student class that represents the personal identification of the student.
calculateGPA(): The calculateGPA() method is one behavior defined in the student class that calculates and returns the Grade Point Average (GPA) of the student based on their grades.