I was just curious to know if its a bad thing to have an if(){} construct without an else statement in java.
No of course not. There are several times when you only need an if statement without a corresponding else.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With