1.

Explain How To Read Information From The Applet Parameters.

Answer»

The getParameter() method can be USED within the init() method to access the parameter data.
It TAKES the parameter name as an argument.
Example:
PUBLIC void init()
{
STRING val = getParameter("foreground-color");
}

The getParameter() method can be used within the init() method to access the parameter data.
It takes the parameter name as an argument.
Example:
public void init()
{
String val = getParameter("foreground-color");
}



Discussion

No Comment Found