Ad

Saturday, January 30, 2016

Codecademy Learn Java tutorial walkthrough 3 Data Type II Boolean

In this tutorial, Codecademy introduces another data type called Boolean, which can only take the value true or false. To the computer, true or false is really 1 or 0. The computer can use 1s and 0s to represent any texts and numbers.

Again, no quotes, no int whole number nor no floats, just true or false.

System.out.println(false);

No comments:

Post a Comment

Password protect and zip compress files on Mac

The following step is only recommended for developers who have experience working in the command line. This is the build-in zip compress and...