Question
import java.awt.*;
import java.applet.*;
public class myapplet extends Applet {
Graphic g;
g.drawString("A Simple Applet", 20, 20);
}
What is the length of the application box made by this program?
import java.awt.*;
import java.applet.*;
public class myapplet extends Applet {
Graphic g;
g.drawString("A Simple Applet", 20, 20);
}
Answer: Option C
Was this answer helpful ?
To implement the method drawString we need first need to define abstract method
Was this answer helpful ?
More Questions on This Topic :
Question 6.
What does AWT stands for?
....
Submit Solution