Name
hasclass — An interface to Class.forName
Description
Reports whether a given class is present or not.
![[Important]](images/important.png) | Important |
---|
Keep in mind that in J2ME, using an obfuscator, class names
may not be what you think they are! Only use this for
system-defined classes.
|
Example
hecl> hasclass org.hecl.net.HttpCmd
1
hecl> hasclass oogyboogy
0