Be Careful while using Scanner class!
Channel:
Subscribers:
1,540
Published on ● Video Link: https://www.youtube.com/watch?v=C_m7vA93oCs
Be Careful while using Scanner class!
When we use nextInt() or nextFloat() or nextDouble(), nextLine() in a certain order, the program doesn't wait for us to enter the string value. In this video, I have shown how we can rectify this error.
#error #java
Other Videos By Robin Sir
Tags:
scanner class error
input error in scanner class
scanner class error in java