how could I initialize a generic array
===

I've been given an skeleton class "OrderSet" that implements a class "Set" one of the variable T[] items is generic and I'm suppose to initialize it as an array of 5 elements, but after doing some reading, I learned that you can't initialize a generic array, if that's the case how could I initialize the array?

here's the class

    public class OrderSet<T extends Comparable> implements Set<T> {
        
        private T[] items;
        private int theSize;
        
        public OrderSet()
        {
            items = (T[]) new Set[5];
        }
        
        @Override
        public void add(T s)
        {
            
        }
        
        @Override
        public void show()
        {
            
        }
        
    }