Organizational Research By

Surprising Reserch Topic

anonymous code blocks in java


anonymous code blocks in java  using -'java'

Are there any practical uses of anonymous code blocks in Java?

public static void main(String[] args) {
    // in
    {
        // out
    }
}


Please note that this is not about named blocks, i.e.

name: {
     if ( /* something */ )
         break name;
}


.
    
asked Sep 16, 2015 by pradip.bhoge
0 votes
10 views



Related Hot Questions



Government Jobs Opening


...