Limited access

Upgrade to access all content for this subject

A Bowler class requires that the following data be stored: the bowler’s high score, the bowler’s average score (should not be rounded), and the bowler’s last 10 scores.

What would be an acceptable way to declare this data in the Bowler class?

A
private int highScore, double avgScore, int[] scores;
B
private int highScores, scores[];
private double avgScore;
C
private int highScores, double avgScore;
private int[] scores;
D
private int highScores, avgScore;
private int[] scores;
E
private int highScores, scores;
private double avgScore;
Select an assignment template