1 | On the previous page, we had an example: |
2 | 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) |
3 | Strings are sequences of characters in quotes: |
4 | Values of other types are created with methods. |
5 | int x, y; |
6 | x = 8; |
7 | y = 2 * x; |
8 | String s; |
9 | s = "This is a string." |