gistfile1.txt package test1;import java.util.Scanner;public class Input {public static void main(String[] args) {Scanner sca = new Scanner(System.in);System.out.println("请输入对应的字符");String str = sca.next();if (str.equals("hel
package test1; import java.util.Scanner; public class Input { public static void main(String[] args) { Scanner sca = new Scanner(System.in); System.out.println("请输入对应的字符"); String str = sca.next(); if (str.equals("hello")){ System.out.println("Hello World!!!"); } } }