Data type is a set of values and operations defined on those values
Variable: A name that refers to a value
Assignment statement: Associates a value with a variable
A table of variable values after each statement
Blocks are defined with braces
A block is the same as a single statement, Why?
Sometimes we need to execute a group of statements in all or nothing manner
(x != 0) & (1/x != 2)
(x != 0) && (1/x != 2)
Scanner class handles user input
Need to import the class by:
Scanner object takes input stream and will provide it upon request