Advertisement
Guest User

Untitled

a guest
Sep 30th, 2016
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. if(condition)
  2. evaluated when condition is true
  3. else
  4. evaluated otherwise (condition is false)
  5.  
  6.  
  7. if(condition A)
  8. evaluated when condition A is true
  9. if(condition B)
  10. evaluated when condition B is true regardless of condition A
  11.  
  12. if(condition A)
  13. evaluted when condition A is true
  14. else if(condition B)
  15. evaluated when conditiion A is false AND condition B is true. Condition B is not even checked if A is true
  16. else
  17. evaluated otherwise (conditions A and B are false)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement