Java Applet Interview Questions and Answers
Question: Can we pass parameters to an applet from HTML page to an applet? How?Answer:We can pass parameters to an applet usingtag in the following way:
Access those parameters inside the applet is done by calling getParameter() method inside the applet. Note that getParameter() method returns String value corresponding to the parameter name. |
Is it helpful?
Yes
No
Most helpful rated by users:
- What is an applet?
- What is the difference between an Applet and an Application?
- How will you establish the connection between the servlet and an applet?
- What is an Applet? Should applets have constructors?
- How will you initialize an Applet?