jeffhao | 5d1ac92 | 2011-09-29 17:41:15 -0700 | [diff] [blame] | 1 | instance begin |
| 2 | x instanceof X (true): true |
| 3 | x instanceof Y (false): false |
| 4 | y instanceof X (true): true |
| 5 | y instanceof Y (true): true |
| 6 | xar instanceof Object (true): true |
| 7 | xar instanceof X (false): false |
| 8 | xar instanceof X[] (true): true |
| 9 | xar instanceof Y[] (false): false |
| 10 | xar instanceof Object[] (true): true |
| 11 | xar instanceof X[][] (false): false |
| 12 | yar instanceof X[] (true): true |
| 13 | xararar instanceof Object (true): true |
| 14 | xararar instanceof Object[] (true): true |
| 15 | xararar instanceof X (false): false |
| 16 | xararar instanceof X[] (false): false |
| 17 | xararar instanceof X[][] (false): false |
| 18 | xararar instanceof X[][][] (true): true |
| 19 | xararar instanceof Object[][][] (true): true |
| 20 | xararar instanceof Serializable (true): true |
| 21 | xararar instanceof Serializable[] (true): true |
| 22 | xararar instanceof Serializable[][] (true): true |
| 23 | xararar instanceof Serializable[][][] (false): false |
| 24 | yararar instanceof X[][][] (true): true |
| 25 | iar instanceof Object (true): true |
| 26 | iar instanceof Object[] (false): false |
| 27 | iarar instanceof Object (true): true |
| 28 | iarar instanceof Object[] (true): true |
| 29 | iarar instanceof Object[][] (false): false |
| 30 | instanceof end |