reading string after double in java

Solutions on MaxInterview for reading string after double in java by the best coders in the world

we are a community of more than 2 million smartest coders
registration for
employee referral programs
are now open
get referred to google, amazon, flipkart and more
register now
  
pinned-register now
showing results for - "reading string after double in java"
Kamil
20 Jul 2018
1myInt = scan.nextInt();
2myDouble = scan.nextDouble();
3scan.nextLine(); // Skip the remainder of the double line
4myString = scan.nextLine();