126c5e1503425cae17f5b16fdf06a2d62ec03a59bElliott Hughes/* 226c5e1503425cae17f5b16fdf06a2d62ec03a59bElliott Hughes * Copyright (C) 2012 The Android Open Source Project 326c5e1503425cae17f5b16fdf06a2d62ec03a59bElliott Hughes * 426c5e1503425cae17f5b16fdf06a2d62ec03a59bElliott Hughes * Licensed under the Apache License, Version 2.0 (the "License"); 526c5e1503425cae17f5b16fdf06a2d62ec03a59bElliott Hughes * you may not use this file except in compliance with the License. 626c5e1503425cae17f5b16fdf06a2d62ec03a59bElliott Hughes * You may obtain a copy of the License at 726c5e1503425cae17f5b16fdf06a2d62ec03a59bElliott Hughes * 826c5e1503425cae17f5b16fdf06a2d62ec03a59bElliott Hughes * http://www.apache.org/licenses/LICENSE-2.0 926c5e1503425cae17f5b16fdf06a2d62ec03a59bElliott Hughes * 1026c5e1503425cae17f5b16fdf06a2d62ec03a59bElliott Hughes * Unless required by applicable law or agreed to in writing, software 1126c5e1503425cae17f5b16fdf06a2d62ec03a59bElliott Hughes * distributed under the License is distributed on an "AS IS" BASIS, 1226c5e1503425cae17f5b16fdf06a2d62ec03a59bElliott Hughes * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1326c5e1503425cae17f5b16fdf06a2d62ec03a59bElliott Hughes * See the License for the specific language governing permissions and 1426c5e1503425cae17f5b16fdf06a2d62ec03a59bElliott Hughes * limitations under the License. 1526c5e1503425cae17f5b16fdf06a2d62ec03a59bElliott Hughes */ 1626c5e1503425cae17f5b16fdf06a2d62ec03a59bElliott Hughes 1726c5e1503425cae17f5b16fdf06a2d62ec03a59bElliott Hughespackage p1; 1826c5e1503425cae17f5b16fdf06a2d62ec03a59bElliott Hughes 1926c5e1503425cae17f5b16fdf06a2d62ec03a59bElliott Hughespublic class BaseClass { 2026c5e1503425cae17f5b16fdf06a2d62ec03a59bElliott Hughes public void run() { foo(); } 2126c5e1503425cae17f5b16fdf06a2d62ec03a59bElliott Hughes void foo() { System.out.println("passed"); } // It should not be possible to override this. 2226c5e1503425cae17f5b16fdf06a2d62ec03a59bElliott Hughes} 23