La Structure conditionelle: If Else en Java
Qu'est-ce qu'une structure conditionnelle en Java ?
On appelle structure conditonnelle en java, l'opération utilisée pour tester si une condition est vraie ou non en vue d'executer des instructions java . Ces structures conditionnelles peuvent être associées à des structures qui se répètent suivant la réalisation de la condition, on appelle ces structures des structures de boucle.
La structure conditionnelle en java a pour syntaxe:
If -Condition- Instructions
Else -si non - autres instructions.
Cette vidéo est réalisée avec Elipse Java 2020 et JDK 14 version Windows 10. Pour un visionnage de qualité optimale, utilisez le navigateur Google chrome.
The Conditional Structure: If Else in Java
What is a conditional structure in Java?
We call conditional structure in java, the operation used to test whether a condition is true or not in order to execute java instructions. These conditional structures can be associated with structures which are repeated according to the realization of the condition, we call these structures loop structures.
The conditional structure in java has for syntax:
If -Condition- Instructions
Else -if no - further instructions.
This video is produced with Elipse Java 2020 and JDK 14 version Windows 10. For optimal viewing quality, use the Google chrome browser.