Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Create a class called Student that represent some basic enrollment information about the student. The instance variables are studentID , creditsEarned and gpa, which are

Create a class called Student that represent some basic enrollment information about the student. The instance variables are studentID , creditsEarned and gpa, which are String, integer and double, respectively .( you may either create a new class, or add extra features to the class that you have in problem 1). Define constructors in the Student class that can do the following in any client class: Create a new Student object using the default constructor. Pick any default values of your choice, for the default constructors instance variables. Create a new Student object using overloaded constructor that takes in three arguments that provide values for the three instance variables. Create a new Student object using a 2 argument constructor .The two arguments will provide values for studentID and creditsEarned instance variables.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Essential SQLAlchemy Mapping Python To Databases

Authors: Myers, Jason Myers

2nd Edition

1491916567, 9781491916568

More Books

Students also viewed these Databases questions