bpatel@1476: /* ksrini@2227: * Copyright (c) 2012, 2013, Oracle and/or its affiliates. All rights reserved. bpatel@1476: * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. bpatel@1476: * bpatel@1476: * This code is free software; you can redistribute it and/or modify it bpatel@1476: * under the terms of the GNU General Public License version 2 only, as bpatel@1476: * published by the Free Software Foundation. bpatel@1476: * bpatel@1476: * This code is distributed in the hope that it will be useful, but WITHOUT bpatel@1476: * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or bpatel@1476: * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License bpatel@1476: * version 2 for more details (a copy is included in the LICENSE file that bpatel@1476: * accompanied this code). bpatel@1476: * bpatel@1476: * You should have received a copy of the GNU General Public License version bpatel@1476: * 2 along with this work; if not, write to the Free Software Foundation, bpatel@1476: * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. bpatel@1476: * bpatel@1476: * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA bpatel@1476: * or visit www.oracle.com if you need additional information or have any bpatel@1476: * questions. bpatel@1476: */ bpatel@1476: bpatel@1476: package pkg; bpatel@1476: bpatel@1476: public abstract class B { bpatel@1476: bpatel@1476: public abstract void method1(); bpatel@1476: bpatel@1476: public void method2() { } bpatel@1476: }