+ 1
How this program properly run accordong to d statement that i enter in this code....
https://code.sololearn.com/c8CL8mgapJGT/?ref=app plzzzz solve my problem
2 Answers
+ 4
You declared another variable br in your quiz1 method. Remove this line from the method:
BufferedReader br= new BufferedReader(new InputStreamReader(System.in));
It is already declared global.
+ 1
thnxxx Tashi N