+ 3
what is an EOF? and how do I solve it?
2 Answers
+ 2
EOF is End Of File, and generally you can see these types of issues occur when you forget to close something, i.e. with ),], or }
+ 1
If you are reading a stream there is usually a method called hasNext() returning a Boolean. This can be used to prevent running into empty space.