my java cde is not taking string input form user when used after nextInt() method to read the inut code example
Example: sc.nextline skips
int option = input.nextInt();
input.nextLine(); // Consume newline left-over
String str1 = input.nextLine();