+ 1
Conditional statements
is there if else statement in java or only if
1 Respuesta
+ 10
both are available in java ,
according to need of program these are used
//if else behave like switch() with break after each case
//if() executes only when condition evaluates to true