import java.io.*;
class BooleanTest{
public static void main(String[]args){
boolean isExit = false;
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
while (!isExit)
{
String s = br.readLine();
isExit = s.equals("exit");
}
}
}
This code is giving unreported exception IO Exception
Under discussion
Comments (2)
- Popular
- New
- Old
You must be signed in to leave a comment
Nouser
29 October 2020, 20:16
try
You'll learn more about that later 0
Dinesh
29 October 2020, 20:27
yes, it worked thank you so much
0