The parseObject() method parses text from a string to produce a Number. The method starts the parsing process by parsing the text starting at the index given by pos. If parsing succeeds, then the index of pos is updated to the index after the last character used, and the parsed number is returned. The new pos can be used to indicate the starting point for the next call to this method. Following is the general format of the method:
parseObject public final Object parseObject(String source, ParsePosition pos)
Here, source is a String, part of which should be parsed, pos is a ParsePosition object with index and error index information as described above. This method throws NullPointerException if pos is null.
Download practice question and study guide for CX310-065 for exam.
- Pass CX310-065 Certification
- Download Free Practice For CX310-065 Exam
