You are viewing a single comment's thread. Return to all comments →
int x=s.nextInt(); int y=s.nextInt(); should be within try{}
Seems like cookies are disabled on this browser, please enable them to open this website
Java Exception Handling (Try-catch)
You are viewing a single comment's thread. Return to all comments →