Hi ,I am trying to catch exception if integer is out of certain interval ,how can I do that.
Lets say that float variable has to be in the interval 2 to 5 in all other cases exception
Thanks
kukuruku 0
Light Poster
Recommended Answers
Jump to Postif statements.
All 3 Replies
javaAddict 900
Nearly a Senior Poster Team Colleague Featured Poster
JamesCherrill 4,733
Most Valuable Poster Team Colleague Featured Poster
mKorbel 274
Veteran Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.