(a) Use java to create a class named Student that includes data fields for the student ID, name, a total quiz score and static for number quiz taken set to 3. In your class, include the following:(Photo 1as below), Create a driver program that tests all constructors and methods. Create 2 objects using the following information: Declare and create an instance of the class using the no-arg constructor. Use the set methods to assign values to the data fields. Display the data field values of this object. Declare and create an instance of the class using the parameterized constructor. Display the data field values of this object. Display the Average Score for each object.
(a) Use java to create a class named Student that includes data fields for the student ID, name, a total quiz
score and static for number quiz taken set to 3. In your class, include the following:(Photo 1as below), Create a driver
following information:
Declare and create an instance of the class using the no-arg constructor. Use the set methods to assign values to the data fields. Display the data field values of this object.
Declare and create an instance of the class using the parameterized constructor.
Display the data field values of this object.
Display the Average Score for each object.
Trending now
This is a popular solution!
Step by step
Solved in 2 steps with 1 images