Java, creating a class using netbeans – Studypool
Java, creating a class using netbeans – Studypool.
I’m working on a Computer Science question and need guidance to help me study.
Create multiple instances of a class. Use “if” statements. Student object should consist of 4 attributes (firstName, lastName, age, and GPA).
- 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
You may use the following to start: