Class aClass = anInstance.getClass(); Method fun = null; try { fun = aClass.getMethod("method", new Class[] {Integer.class, String.class}); } catch (SecurityException ex) { ex.printStackTrace(); } catch (NoSuchMethodException ex) { ex.printStackTrace(); } try { fun.invoke(anInstance, new Object[] {new Integer(3), "billjoy"}); } catch (IllegalArgumentException ex) { ex.printStackTrace(); } catch (InvocationTargetException ex) { ex.printStackTrace(); } catch (IllegalAccessException ex) { ex.printStackTrace(); }