[SOLVED] Instantiating a particular class constructor using reflection

Actually that’s the tricky part to instantiate an inner class! :mage:

B/c even before instantiating an inner class, an instance of its enclosing class needs to exist 1st. :open_mouth:

In our case, the enclosing class instance is the sketch itself, a subclass of PApplet. :nerd_face:

1 Like