Conditions
Learn Conditions (Programming Concepts, Programming Fundamentals) with worked examples, diagrams and interview questions. Free on JavaSchoolLab.
What is a Condition? A condition is an expression that evaluates to either true or false . Programs use conditions to make decisions - to run one block of code instead of another depending on the current state of the data.