Scanner only reads first word instead of line

Replace next() with nextLine():

String productDescription = input.nextLine();

Leave a Comment