ParsePosition getErrorIndex() method in Java with Example
The getErrorIndex() method of java.text.ParsePosition class is used to retrieve the index at which parse error may occur. Syntax: public int getErrorIndex() Parameter: This method does not accepts any argument as a parameter. Return Value: This method returns the index at which parse error may occur