Methods are not objects or primitive types. Arrays can hold only objects and 
primitive types. You can only save your methods in an array of Strings if 
you can do something useful with them later:

String methods[] = new String[]{ "public void name(){}",
                                 "public void name(){}"};

The only reason that comes in my head for doing that is for some code 
generator program.

Panos

_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com


To change your membership options, refer to:
http://www.sys-con.com/java/list.cfm

Reply via email to