Write a Java Applet Program to Display "Hello World !" on Applet Window
/* HTML CODE
<html>
<head>
<title>Hello World Applet</title>
</head>
<body>
<applet code="HelloWorld.class" width="200" height="200">
</applet>
</body>
</html>
*/
import java.applet.Applet;
import java.awt.Graphics;
public class HelloWorld extends Applet {
public void paint(Graphics g) {
g.drawString("Hello World !", 10, 30);
}
}