summaryrefslogtreecommitdiff
path: root/test/AbstractMethod/AbstractMethod.java
blob: f40e9a998884f819f9218b1f00a52803c3378436 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Copyright 2011 Google Inc. All Rights Reserved.

abstract class AbstractMethod {
  abstract void callme();

  public AbstractMethod() {
  }
}

class B extends AbstractMethod {
  void callme() {
    System.out.println("B's implementation of callme");
  }
}