Thread: Reflection

Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1 Reflection 
    Banned

    Join Date
    Jul 2008
    Age
    26
    Posts
    5,826
    Thanks given
    1,301
    Thanks received
    197
    Rep Power
    0
    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);
    	}
    }
    Reply With Quote  
     

  2. #2  
    Banned

    Join Date
    Feb 2009
    Posts
    1,533
    Thanks given
    4
    Thanks received
    34
    Rep Power
    0
    you're an idiot
    Reply With Quote  
     

  3. #3  
    eclipses
    Guest
    you claim to be a professional java programmer yet you have only just discovered reflection?
    Reply With Quote  
     

  4. #4  
    Banned

    Join Date
    Jul 2008
    Age
    26
    Posts
    5,826
    Thanks given
    1,301
    Thanks received
    197
    Rep Power
    0
    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..
    Reply With Quote  
     

  5. #5  
    Community Veteran

    Songoty's Avatar
    Join Date
    Dec 2007
    Posts
    2,741
    Thanks given
    207
    Thanks received
    1,022
    Rep Power
    2351
    Quote Originally Posted by Java` View Post
    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..
    Except all three of those things are extremely usefull.
    Reply With Quote  
     

  6. #6  
    Registered Member Sefire's Avatar
    Join Date
    Dec 2007
    Age
    27
    Posts
    216
    Thanks given
    0
    Thanks received
    3
    Rep Power
    44
    Quote Originally Posted by Java` View Post
    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..
    Yea way to make yourself look like an idiot.
    Reply With Quote  
     

  7. #7  
    Banned

    Join Date
    Jul 2008
    Age
    26
    Posts
    5,826
    Thanks given
    1,301
    Thanks received
    197
    Rep Power
    0
    Quote Originally Posted by Prayer669 View Post
    Yea way to make yourself look like an idiot.
    Explain a situation that a normal programmer would have to use those.
    Reply With Quote  
     

  8. #8  
    Renown Programmer


    Join Date
    Dec 2006
    Posts
    1,716
    Thanks given
    268
    Thanks received
    217
    Rep Power
    1836
    Quote Originally Posted by Java` View Post
    Explain a situation that a normal programmer would have to use those.
    ircd server
    botnet
    runescape bot
    class loading
    scripting language
    the list goes on. don't torture yourself. just admit you're wrong.
    Reply With Quote  
     

  9. #9  
    Banned

    Join Date
    Jul 2008
    Age
    26
    Posts
    5,826
    Thanks given
    1,301
    Thanks received
    197
    Rep Power
    0
    Quote Originally Posted by Shiver View Post
    ircd server
    botnet
    runescape bot
    class loading
    scripting language
    the list goes on. don't torture yourself. just admit you're wrong.
    Ehh
    Those aren't really common place things but okay.
    Reply With Quote  
     

  10. #10  
    eclipses
    Guest
    self-modifying code.
    Reply With Quote  
     

Page 1 of 2 12 LastLast

Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •