| Shih-wei Liao | 303b01e | 2011-09-14 00:46:13 -0700 | [diff] [blame^] | 1 | // Copyright 2011 Google Inc. All Rights Reserved. |
| 2 | |||||
| 3 | abstract class AbstractMethod { | ||||
| 4 | abstract void callme(); | ||||
| 5 | |||||
| 6 | public AbstractMethod() { | ||||
| 7 | } | ||||
| 8 | } | ||||
| 9 | |||||
| 10 | class B extends AbstractMethod { | ||||
| 11 | void callme() { | ||||
| 12 | System.out.println("B's implementation of callme"); | ||||
| 13 | } | ||||
| 14 | } | ||||