UNB/ CS/ David Bremner/ teaching/ java/ Skater.java
public class Skater{
  
  public String name;
  public double[] scores;

  public Skater(String theName, double [] theScores){
    name=theName;
    scores=theScores;
  }

  public Skater(String theName, double score1, double score2, double score3){
    name=theName;
    scores = new double [] {score1, score2, score3};
  }

  public static void main(String[] args){
    
    Skater katerina=new Skater("Katya",new double [] {9.0, 9.0, 10.0});

    Skater brian=new Skater("Bugsy", 7.0, 7.0 , 7.0);

  }
}