Computer 10 Lesson 3 4
Computer 10 Lesson 3 4
Syntax
Examples
Constants
Constants are identifiers whose values never
change once declared.
Syntax
Examples
Casting
Casting is the process of assigning a value or
variable of a specific type to a variable of
another type,
Lesson 4
Connecting Data Through
Operators
• Operators
• Operator Precedence
Operators
Operators are symbols that perform logical or
mathematical functions on operands such as
variables, constants, and objects.
• Unary operators require only one operand.
negation (-)
bitwise complement (~)
increment (++)
decrement (--)