Jinseong Jeon | d44a768 | 2017-08-08 11:53:05 -0700 | [diff] [blame] | 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 naming001; |
| 5 | |
| 6 | public class D { |
| 7 | public void keep() { |
| 8 | System.out.println(); |
| 9 | } |
| 10 | |
| 11 | public static void main(String[] args) { |
| 12 | D d = new E(); |
| 13 | d.keep(); |
| 14 | } |
| 15 | |
| 16 | public static void main2(String[] args) { |
| 17 | D d = new D(); |
| 18 | d.keep(); |
| 19 | } |
| 20 | } |
| 21 | |