Alex Light | d204ba5 | 2016-03-01 14:33:51 -0800 | [diff] [blame^] | 1 | /* |
| 2 | * Copyright (C) 2015 The Android Open Source Project |
| 3 | * |
| 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | * you may not use this file except in compliance with the License. |
| 6 | * You may obtain a copy of the License at |
| 7 | * |
| 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | * |
| 10 | * Unless required by applicable law or agreed to in writing, software |
| 11 | * distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | * See the License for the specific language governing permissions and |
| 14 | * limitations under the License. |
| 15 | */ |
| 16 | class Main { |
| 17 | public static void main(String[] args) { |
| 18 | A a = new A(); |
| 19 | System.out.println(a.SayHi("a string 0", |
| 20 | "a string 1", |
| 21 | "a string 2", |
| 22 | "a string 3", |
| 23 | "a string 4", |
| 24 | "a string 5", |
| 25 | "a string 6", |
| 26 | "a string 7", |
| 27 | "a string 8", |
| 28 | "a string 9")); |
| 29 | Iface b = a; |
| 30 | System.out.println(b.SayHi("a string 0", |
| 31 | "a string 1", |
| 32 | "a string 2", |
| 33 | "a string 3", |
| 34 | "a string 4", |
| 35 | "a string 5", |
| 36 | "a string 6", |
| 37 | "a string 7", |
| 38 | "a string 8", |
| 39 | "a string 9")); |
| 40 | } |
| 41 | } |