結果 : program to find longest substring in java