guys, I have declare a generic array in OrderSet class; however, during compilation is giving me an error:


Exception in thread "main" java.lang.ClassCastException: [Ljava.lang.Object; cannot be...