curric

View on GitHub

./curric/basics/Operators/

Operators

Logical Operations - return a boolean

If you intermix arithmatic operators between doubles and ints, lets say in addition. 2.0 + 1 = 3.0 This is a double plus an integer, therefore Java will say: “Ok, I will cast the integer to a double to abide by addition rules of doubles” :::info Java Rule: If you do any arithmatic operation with a double and some other number (int or double), the output will be double :::

String