Lecture 11: Factories & Transforming How We Paint

September 14, 2012

Ambient temperature: 74.8oF Concepts If you use reflection to instantiate a class, you must check that the constructor takes the correct amount of arguments, and that they are of the type your code expects them to be. Dr. Wong discovered that in Java 7, the behavior of Java Reflection’s Class.forName( class_name ).getConstructors() method changed, depending […]