Question: Create multiple instances of a class. Use if statements. Student object should consist of 4 attributes (firstName, lastName, age, and GPA) using netbean create the

Create multiple instances of a class. Use if statements. Student object should consist of 4 attributes (firstName, lastName, age, and GPA) using netbean

Create multiple instances of a class. Use if statements. Student object should

create the student class with 4 attributes

first name

last name

age

GPA

create 3 student objects in app

Find and display the student with the highest GPA

Find and display the student with the lowest GPA

There are many ways of doing this lab. Go for the solution closer to your Java skills. The most basic way is a series of if statements.

By "find" above, I mean using the objects' data and doing calculations instead of you looking at the data and displaying one as having the highest GPA and another as having the lowest.

app 1-Creates 3 students student First name Last name Age GPA 2-Using the student objects/variables, find and and display the student with the lowest GPA 3-Using the student objects/variables, find and and display the student with the highest GPA getlnfol)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!