vendredi 22 mars 2019

Create an array of constructors in c++

Creating an array with constructors so that i can initialize them in a loop.

    Class A
    class B extends A
    class C extends A




    Class<? extends A>[] classes = [B,C]

Aucun commentaire:

Enregistrer un commentaire