How do I empty a primitive array?

Viewed 965

I have the following class:

public class Person {

    private String id;

    private Score[] scores;

    public Person() {
    }

    //getters and setters etc
}

How can I best remove all the Score objects within the scores array for this object?

4 Answers
Related