I don't know if other languages have sth more but I'm trying to learn java and I'm wondering if there is something else instead of "if ". Thank you for your answer.
Type: Posts; User: jim17
I don't know if other languages have sth more but I'm trying to learn java and I'm wondering if there is something else instead of "if ". Thank you for your answer.
I don't want to use " if " or " switch ". Is anything else available in java for this functionality? For example, if I don't want to use "for" I can use "while".
Sorry for misunderstanding, my...
What can we use instead of if in programs? I don't mean the switch case.