习题解答
第一章 作业题
1.
public class Hello{
public static void main (String args[ ]){
System.out.pintln(“早上好,good Morning”);
}
}
2.
import java.applet.*;
import java.awt.*;
public class Boy extends Applet {
public void paint(Graphics g) {
g.setColor(Color.blue);
g.drawString("你好,hello",12,30);
}
}