user input.nextline() not sending correct string code example
Example: sc.nextline skips
int option = input.nextInt();
input.nextLine(); // Consume newline left-over
String str1 = input.nextLine();
int option = input.nextInt();
input.nextLine(); // Consume newline left-over
String str1 = input.nextLine();