Why is my program freezing when I use a method? (Java)
- by user2915567
When I use a boolean method in the Main body, my program freezes and stops working. I've tried putting the method at different places but the exact same thing happens - it freezes.
The method is really simple and well-written, I'm not sure what's causing the problem.
P.S. The method is on the bottom of the code.
Thanks for your help!
Edit: That…