blob: 3a6a4ecf727400f254c1ed2b48a79f3abc84490d [file] [log] [blame]
Mads Ager418d1ca2017-05-22 09:35:49 +02001// Copyright (c) 2017, 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.
4package shaking16;
5
6public class a extends b {
7
8 public int a;
9 public int b;
10
11 public a(int a, int b) {
12 super(a -1, b + 1);
13 this.a = a;
14 this.b = b;
15 }
16
17 @Override
18 public void a() {
19 System.out.println("Called a in Subclass " + a + ", " + b);
20 }
21
22 @Override
23 public void b() {
24 System.out.println("Called b in Subclass");
25 super.b();
26 super.a();
27 }
28}