I am having some issues inserting a sequence of strings in Java. It feels like when you don't fflush(stdin) in C language. After I have inserted the first input, the second one gets skipped, has anyone got some suggestions? (Keyboard is a variable I stated using Scanner keyboard = new Scanner(System.in)
System.out.println("Please insert the author of the book");
author=keyboard.next();
System.out.println("Insert the publisher");
publisher=keyboard.next();
System.out.println("Insert the title");
title=keyboard.next();