I am attempting to add 2 sub-class objects to a static Collection of super-class objects. However, when I try to add the objects to the Collection, I'm receiving a null pointer exception and I'm trying to figure out why.
public class MoverLogic{
    static Collection<Super> superCollection;
    public static void main(String[] args) {
    SubAlpha sub1 = new SubAlpha();
    SubBeta sub2 = new SubBeta();
    superCollection.add(sub1); //I'm getting the null pointer exception here
    superCollection.add(sub2);
}
 
     
     
     
     
    