void function ( ) { for ( int loc0 = 0 ; loc0 < 5 ; loc0 ++ ) { for ( int loc1 = 0 ; loc1 < 5 ; loc1 ++ ) { if ( twoDArray [ loc0 ] [ loc1 ] ) { StdOut . print ( "srini_string" ) ; } else { StdOut . print ( "srini_string" ) ; } } StdOut . println ( ) ; } }
prints the two dimensional boolean array . '' represents ` true ' value . ' ' represents ` false ' value . concode_field_sep boolean[][] twoDArray concode_field_sep void main concode_elem_sep void initialize2DArray