Object Oriented Software Engineering View all facts Glossary Help |
subject > programming language construct > statement > decision-making statement > Java decision-making statement |
Java decision-making statement comparison table |
Subject | omit | avoid by | have example | has part | have form |
---|---|---|---|---|---|
Java if statement | curly brackets: if(condition)if it contains only a single statement | else block | if(condition) | ||
Java switch statement | using polymorphism | switch(primitiveVariable) | |||
Java try catch statement | //Any division by zero that occurs when executing the |