• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // 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.
4 package shaking16;
5 
6 public class a extends b {
7 
8   public int a;
9   public int b;
10 
a(int a, int b)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
a()18   public void a() {
19     System.out.println("Called a in Subclass " + a + ", " + b);
20   }
21 
22   @Override
b()23   public void b() {
24     System.out.println("Called b in Subclass");
25     super.b();
26     super.a();
27   }
28 }
29