Wednesday, February 7, 2007

How do we read number information from my applet’s parameters, given that Applet’s getParameter() method returns a string?

Use the parseInt() method in the Integer Class, the Float(String) constructor or parseFloat() method in the Class Float, or the
Double(String) constructor or parseDoulbl() method in the class Double.

SOURCE : www.referjava.com

No comments: