I have a problem I.
In the method, I get the shared object as a parameter, and I need to get the class name
public void myMethod(Object o) String className = o.getClass().getName(); ... }
This works, unless I give arrays of methods. For example, if the method pass is an array of double ( double[] ), getClass().getName() returns me [D
How can I get something like double[] ?
Maverik
source share