Java%20Applet%20Interview%20Questions%20and%20Answers
Question: How do we read number information from my applets parameters, given that Applets getParameter() method returns a string?Answer: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:
- 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?