Mads Ager | 418d1ca | 2017-05-22 09:35:49 +0200 | [diff] [blame] | 1 | // Copyright (c) 2016, the R8 project authors. Please see the AUTHORS file |
| 2 | // for details. All rights reserved. Use of this source code is governed by a |
| 3 | // BSD-style license that can be found in the LICENSE file. |
| 4 | package shaking9; |
| 5 | |
| 6 | public class Subclass extends Superclass { |
| 7 | |
| 8 | @Override |
| 9 | public void aMethod() { |
| 10 | System.out.println("Called aMethod in Subclass"); |
| 11 | } |
| 12 | |
| 13 | @Override |
| 14 | public void callingSuper() { |
| 15 | System.out.println("Called callingSuper in Subclass"); |
| 16 | super.callingSuper(); |
| 17 | super.aMethod(); |
| 18 | } |
| 19 | } |