Nguyễn Ngọc Tâm Quyên
Member
What is the length of the application box made in the following Java program?
A. 20
B. Default value
C. Compilation Error
D. Runtime Error
Code:
import java.awt.*;
import java.applet.*;
public class myapplet extends Applet
{
Graphic g;
g.drawString("A Simple Applet",20,20);
}
B. Default value
C. Compilation Error
D. Runtime Error