Java Applet Interview Questions and Answers
Ques. How do we read number information from my applets parameters, given that Applets getParameter() method returns a string?Ans. 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.
Is it helpful? Yes No
Most helpful rated by users: