you're an idiot
|
|

I just took a look at it, this stuff is LEET.
Code:import java.lang.reflect.*; public class Main { public static void main(String[] args) throws Exception { Test t = new Test(); Class c = t.getClass(); Method[] methods = c.getMethods(); methods[0].invoke(t, "Hi"); } } class Test { public void testing(String args) { System.out.println(args); } }

you're an idiot
you claim to be a professional java programmer yet you have only just discovered reflection?

The three things I've never looked into are RMI, NIO, and Reflection. The three of which really aren't that useful to a common programmer..



| « Save system not working | Real-Time games - how do they work? » |
| Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |