The parse() method parses the text from the beginning of the given string to produce a Number. The method may not use the entire text of the given string. Following is the general format of the method:
public Number parse(String source) throws ParseException
Here, source is a String whose beginning should be parsed and this method returns a Number parsed from the string. This method throws ParseException if the beginning of the specified string cannot be parsed.
Pass OCP Java SE 6 Programmer exam
- Pass CX310-083 Certification
- Download Free Practice For CX310-083 Exam
