Answer:
Scanner stdlin = new Scanner(System.in);
line1 = stdlin.readline();
Step-by-step explanation:
1.stdlin is the referenced input variable made by using built in Scanner class of Java language.
2.Than in line1 the next line from the console will be assigned by using readline function.