Sunday, November 2, 2008

lecture 18

Describe one scenario where Java Reflection can be useful.
a scenario would be that if you are marking a set of projects, the students have implemented their project using different class names, fieldnames, and method names with the same functionality.You cant use JUnit for this scenario as you need to have the classnames, fieldnames and method names to be the same.

No comments:

Post a Comment