/******************************************************************************* * Copyright (c) 2007-2009 BEA Systems, Inc. and others * * This program and the accompanying materials * are made available under the terms of the Eclipse Public License 2.0 * which accompanies this distribution, and is available at * https://www.eclipse.org/legal/epl-2.0/ * * SPDX-License-Identifier: EPL-2.0 * * Contributors: * wharley@bea.com - initial API and implementation *******************************************************************************/ import p.Y; import p.Z; public class X extends Y { public static void main(String[] args) { System.out.println(new Y()); System.out.println(new Z()); } }