Friday Java Quiz: Will This Code Compile
Without firing up your Java compiler, guess if the following class will compile:
interface $^A {}
where "^A" is the character whose ASCII value is 1. (You enter it as ^V^A in vi or C-q C-a in Emacs.)
| June 2007 | ||||||
| Sun | Mon | Tue | Wed | Thu | Fri | Sat |
| 1 | 2 | |||||
| 3 | 4 | 5 | 6 | 7 | 8 | 9 |
| 10 | 11 | 12 | 13 | 14 | 15 | 16 |
| 17 | 18 | 19 | 20 | 21 | 22 | 23 |
| 24 | 25 | 26 | 27 | 28 | 29 | 30 |
| May | Today | Jul | ||||||
Without firing up your Java compiler, guess if the following class will compile:
interface $^A {}
where "^A" is the character whose ASCII value is 1. (You enter it as ^V^A in vi or C-q C-a in Emacs.)