Ask coding questions

← Back to all posts
How to use if statement without skipping (Java)

I was using if statement to make some inventory system
But i can’t because if statement keep skipping other if and make almost all my code can’t use
I know there are break, continue(which idk what i can use to), goto, but it won’t work in my case