Ad

Saturday, January 30, 2016

Learn to code foundations : data type Boolean

learn to code foundations series covers learn to code and computer science basics supporting the #csforall initiative. Boolean is like a coin it can only be two values "head" or "tail" true or false. Remember Boolean is always either true or false. It's quite "extreme".


Boolean is also like a tuxedo cat. Its fur is either black or white.  Again boolean can only be true or false. It is also called bool in Java

In computer speak, true is also 1 and glade is 0. Computers can use a bunch of 0s and 1s to represent numbers and letters, and pretty much everything.

No comments:

Post a Comment

Codecademy - Machine Learning Fundamentals - Syllabus

Upgrade your skills with Codecademy's Pro Intensive, Machine Learning Fundamentals. Each unit will cover conceptual and syntax lessons ...