ParseInt reads until it stops seeing a number. Since xyz is not a number, it returns NaN (Not a Number).