| 1 |
/******************************************************************************* |
| 2 |
* Copyright (c) 2007-2009 BEA Systems, Inc. and others |
| 3 |
* |
| 4 |
* This program and the accompanying materials |
| 5 |
* are made available under the terms of the Eclipse Public License 2.0 |
| 6 |
* which accompanies this distribution, and is available at |
| 7 |
* https://www.eclipse.org/legal/epl-2.0/ |
| 8 |
* |
| 9 |
* SPDX-License-Identifier: EPL-2.0 |
| 10 |
* |
| 11 |
* Contributors: |
| 12 |
* [email protected] - initial API and implementation |
| 13 |
*******************************************************************************/ |
| 14 |
import p.Y; |
| 15 |
import p.Z; |
| 16 |
|
| 17 |
public class X extends Y { |
| 18 |
public static void main(String[] args) { |
| 19 |
System.out.println(new Y()); |
| 20 |
System.out.println(new Z()); |
| 21 |
} |
| 22 |
} |