On the previous page, we had an example: |
Note that we can use numbers like 8 and arithmetic operators +, - , * and / just the same as in math (except that numbers can't get too big) |
Strings are sequences of characters in quotes: |
Values of other types are created with methods. |
int x, y; |
x = 8; |
y = 2 * x; |
String s; |
s = "This is a string." |