0

What is error in my code?

Hi friends I am a beginner in Java Can you please help me? I made a program of addition of matrices in Java Link: https://code.sololearn.com/cj8zbQcObEq8/?ref=app Can you tell me where is error?

9th Jul 2020, 6:42 AM
Prince Yadav
Prince Yadav - avatar
1 Answer
+ 1
Start with initializing Scanner on System.in only once, preferred in main method or as field in class Program: new Scanner(System.in)
4th Aug 2020, 3:32 PM
Sandra Meyer
Sandra Meyer - avatar