import java.io.Console;
public class Cl05
{
public static void main (String args[])
{
String str1,str2;
Console c=System.console();
//System.out.println("Please enter a word one ");
str1=c.readLine("Please enter a word one ");
System.out.println("word one: "+str1);
//System.out.println("Please enter a word two");
str2=c.readLine("Please enter a word two ");
System.out.println("Word 2: "+str2);
}
}[/code]作者: 李承洋 時間: 2019-7-1 15:27