public static void main ( String [ ] args ) {
  int [ ] [ ] graph = new int [ ] [ ] {
    {
      INF , 1 , 2 , 5 , INF , INF , INF , INF }, {
        INF , INF , INF , INF , 4 , 11 , INF , INF }, {
          INF , INF , INF , INF , 9 , 5 , 16 , INF }, {
            INF , INF , INF , INF , INF , INF , 2 , INF }, {
              INF , INF , INF , INF , INF , INF , INF , 18 }, {
                INF , INF , INF , INF , INF , INF , INF , 13 }, {
                  INF , INF , INF , INF , INF , INF , INF , 2 }
                };
                System . out . println ( shortestDist ( graph ) ) ;
              }
              
public static void main ( String [ ] args ) { int [ ] [ ] graph = new int [ ] [ ] { { INF , 1 , 2 , 5 , INF , INF , INF , INF } , { INF , INF , INF , INF , 4 , 11 , INF , INF } , { INF , INF , INF , INF , 9 , 5 , 16 , INF } , { INF , INF , INF , INF , INF , INF , 2 , INF } , { INF , INF , INF , INF , INF , INF , INF , 18 } , { INF , INF , INF , INF , INF , INF , INF , 13 } , { INF , INF , INF , INF , INF , INF , INF , 2 } } ; System . out . println ( shortestDist ( graph ) ) ; }
(method_declaration (modifiers) type: (void_type) name: (identifier) parameters: (formal_parameters (formal_parameter type: (array_type element: (type_identifier) dimensions: (dimensions)) name: (identifier))) body: (block (local_variable_declaration type: (array_type element: (integral_type) dimensions: (dimensions)) declarator: (variable_declarator name: (identifier) value: (array_creation_expression type: (integral_type) dimensions: (dimensions) value: (array_initializer (array_initializer (identifier) (decimal_integer_literal) (decimal_integer_literal) (decimal_integer_literal) (identifier) (identifier) (identifier) (identifier)) (array_initializer (identifier) (identifier) (identifier) (identifier) (decimal_integer_literal) (decimal_integer_literal) (identifier) (identifier)) (array_initializer (identifier) (identifier) (identifier) (identifier) (decimal_integer_literal) (decimal_integer_literal) (decimal_integer_literal) (identifier)) (array_initializer (identifier) (identifier) (identifier) (identifier) (identifier) (identifier) (decimal_integer_literal) (identifier)) (array_initializer (identifier) (identifier) (identifier) (identifier) (identifier) (identifier) (identifier) (decimal_integer_literal)) (array_initializer (identifier) (identifier) (identifier) (identifier) (identifier) (identifier) (identifier) (decimal_integer_literal)) (array_initializer (identifier) (identifier) (identifier) (identifier) (identifier) (identifier) (identifier) (decimal_integer_literal)))))) (expression_statement (method_invocation object: (field_access object: (identifier) field: (identifier)) name: (identifier) arguments: (argument_list (method_invocation name: (identifier) arguments: (argument_list (identifier))))))))