I have considered in thought how I can take a java.lang.String representing a class name and determine the fully qualified name to then convert the string to a class using java.lang.Class.forName(FullyQualifiedName).
This is puzzling me because I can't use java.lang.Class.forName() with a java.lang.String representing a class name such as "Address" because I need the fully qualified name or I get an Exception.ClassNotFoundException which cycles me back to needing to know the fully qualified name but how when I can't use java.lang.Class.forName().
I am simply stuck with my current knowledge. I have searched using Google and even with the creation of this question but I bet this has already been asked-n-answered. Someone please point me in the right direction?
Note: This question should be removed as it does not appear possible to do what the OP is requesting in Java.
foo. Iscom.poo.foothe one you want, ororg.poo.foo? No program can answer that for you; you're asking it to guess.