L
laredotornado
Hi,
I'm using Java 1.6. Right now I have this in my code ...
Class<?> c = Class.forName
("myco.galc.capitol.tours.test.SelectTourValidationErrorsTest");
in which the string
"myco.galc.capitol.tours.test.SelectTourValidationErrorsTest" refers
to the current class (this) and its package. What is another way of
writing that expression that does not rely on hard-coding the package
and class name?
Thanks, - Dave
I'm using Java 1.6. Right now I have this in my code ...
Class<?> c = Class.forName
("myco.galc.capitol.tours.test.SelectTourValidationErrorsTest");
in which the string
"myco.galc.capitol.tours.test.SelectTourValidationErrorsTest" refers
to the current class (this) and its package. What is another way of
writing that expression that does not rely on hard-coding the package
and class name?
Thanks, - Dave