Jak odczytać ciąg po liczbie całkowitej w Javie

myInt = scan. nextInt();
myDouble = scan. nextDouble();
scan. nextLine(); // Skip the remainder of the double line.
myString = scan. nextLine();
Homely Heron