You are viewing a single comment's thread. Return to all comments →
In Stdout first of all current value of i will be print than " " will genrate space and scan.nextLine() will print value read by compiler.
For example if i=1 and complier reads input such as "Hello Eveyone !" so it will be printed like this:
1 Hello Eveyone !