Question
import java.awt.*;
import java.applet.*;
public class myapplet extends Applet {
public void paint(Graphics g) {
g.drawString("A Simple Applet", 20, 20);
}
}
What is the Message is displayed in the applet made by this program?
import java.awt.*;
import java.applet.*;
public class myapplet extends Applet {
public void paint(Graphics g) {
g.drawString("A Simple Applet", 20, 20);
}
}
Answer: Option A
Was this answer helpful ?
None.
Output:
A Simple Applet
(Output comes in a new java application)
Was this answer helpful ?
More Questions on This Topic :
Question 4.
What does AWT stands for?
....
Submit Solution