N
natG
Hi;
How can I check if an object is an instance of a class where the class is
represented in a Class variable?
boolean checkInstance(Object obj, Class c){
if (obj instanceof c) does NOT WORK!
}
thanks
-nat
How can I check if an object is an instance of a class where the class is
represented in a Class variable?
boolean checkInstance(Object obj, Class c){
if (obj instanceof c) does NOT WORK!
}
thanks
-nat