Computer Science, asked by rakesh449, 1 month ago

write two program on selection statement using Java language​

Answers

Answered by cabjreddy1979
1

Answer:

O'Reilly home

See everything available through O’Reilly online learning and start a free trial. Explore now.

Android™ How to Program, Second Edition by Paul Deitel, Harvey Deitel, Abbey Deitel

Selection Statements in Java

Java has three types of selection statements. The if statement either performs (selects) an action, if a condition is true, or skips it, if the condition is false. The if...else statement performs an action if a condition is true and performs a different action if the condition is false. The switch statement performs one of many different actions, depending on the value of an expression.

Explanation:

I HOPE IT HELPS PLEASE

MARK AS BRAINLIST

Similar questions