{
public final static String hi="你好";
/**
* @roseuid 3E9932680328
*/
public void say();
}
HelloWorld的代码为:
//Source file: C:\\Hello\\src\\HelloWorld.java
import java.io.*;
public class HelloWorld implements Hello
{
private String name=null;
/**
* @roseuid 3E9937D302C8
*/
public HelloWorld()
{
System.out.println("请输入您想问候的名字(按回车结束):");
try {
DataInputStream da = new DataInputStream(System.in);
文章来源于领测软件测试网 https://www.ltesting.net/