public static void main ( java.lang.String [ ] args ) { if ( ( args [ 0 ] ) == STRING_1 ) TYPE_1 . METHOD_1 ( ) ; else if ( ( args [ 0 ] ) == STRING_2 ) TYPE_1 . METHOD_2 ( ) ; }
public static void main ( java.lang.String [ ] args ) { if ( args [ 0 ] . equals ( STRING_1 ) ) TYPE_1 . METHOD_1 ( ) ; else if ( args [ 0 ] . equals ( STRING_2 ) ) TYPE_1 . METHOD_2 ( ) ; }