Limited access

Upgrade to access all content for this subject

Your new class needs to define the following data:

  • The student’s math SAT score
  • The full street address where the student lives
  • The percentage of the student's classes that are AP
  • Did the student pass high school?

Of the choices below, which would be BEST to define this class data?

A
private double mathSATscore;
private String street;
private int percentAP;
private int passHS;
B
private int mathSATscore;
private boolean street;
private double percentAP;
private String passHS;
C
private double mathSATscore;
private String street;
private int percentAP;
private String passHS;
D
private int mathSATscore;
private String street;
private String percentAP;
private boolean passHS;
E
private int mathSATscore;
private String street;
private double percentAP;
private boolean passHS;
Select an assignment template