How this program properly run accordong to d statement that i enter in this code.... | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 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

13th May 2018, 4:45 PM
Harsh Agrawal
Harsh Agrawal - avatar
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.
13th May 2018, 8:41 PM
Tashi N
Tashi N - avatar
+ 1
thnxxx Tashi N
15th May 2018, 8:11 AM
Harsh Agrawal
Harsh Agrawal - avatar