ConsecutiveStringInJava