package com.hw; import java.util.Scanner; /** * @author: yhl * @DateTime: 2021/3/12 13:48 * @Description: */ public class ScannerTest { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); String s1 = scanner.nextLine(); String s2 = scanner.nextLine(); } }