question: public char charAt ( int index ) { if ( index < 0 || index >= nextFencePost ) return 0 ; return s . charAt ( index ) ; }
target:  Returns the character at given offset without changing the scanners state. If offset is out of bound, 0 is returned.