Sololearn: Learn to Code
New course! Every coder should learn Generative AI!
Try a free lesson
+ 7
Use Myvar.close(). You did not close scanner object after using it. Close it at the end of main method in java.
6th Dec 2016, 2:38 PM
Aditya kumar pandey
Aditya kumar pandey - avatar