JAVA in readchar the end of the sign is -1 Mody
Users questions: JAVA expert would like to thank the
Experts answer: if I remember correctly, this method is used to read characters in the string position of first occurrence of the character if the string does not return value is -1 if the character position number