/******************************************************************************* * Copyright (c) 2007-2009 BEA Systems, Inc. and others * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * 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()); } }