Can methods in java be nested and what is the effect?

Posted by David on Stack Overflow See other posts from Stack Overflow or by David
Published on 2010-04-14T01:33:12Z Indexed on 2010/04/14 1:42 UTC
Read the original article Hit count: 356

Filed under:
|

for example and is this legal:

class NAME {
method {
     method {} 
}
} 

and what would the effect be? is there any specialy syntax involved?

© Stack Overflow or respective owner

Related posts about java

Related posts about methods