Question -
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 None.
Output:
A Simple Applet
(Output comes in a new java application)
Was this answer helpful ?
Submit Your Solution hear: