What is the use of Applet?

Answer

 The Applets are used to provide interactive features to web applications that cannot be provided by HTML alone. They can capture mouse input and also have controls like buttons or check boxes. In response to user actions, an applet can change the provided graphic content.

 

Simple example of applet-

 

import java.applet.*;

import java.awt.*;

publicclassHelloWorldAppletextendsApplet{

publicvoid paint (Graphics g){ g.drawString ("Hello World",25,50);

}

}

 

All applet Questions

Ask your interview questions on applet

Write Your comment or Questions if you want the answers on applet from applet Experts
Name* :
Email Id* :
Mob no* :
Question
Or
Comment* :
 





Disclimer: PCDS.CO.IN not responsible for any content, information, data or any feature of website. If you are using this website then its your own responsibility to understand the content of the website

--------- Tutorials ---