To identify a class to use in a package, follow this general schema:
So in your example, A.B would be the answer. Making sure that your package
also has the correct folder hierarchy or the package is in a jar file. If
using a jar file, place the jar file in your <JRE_HOME>\lib\ext folder or
putting the appropriate values in your CLASSPATH system variable.
Scott D. Barrish