View Javadoc
1   /*
2    * Licensed to the Apache Software Foundation (ASF) under one
3    * or more contributor license agreements.  See the NOTICE file
4    * distributed with this work for additional information
5    * regarding copyright ownership.  The ASF licenses this file
6    * to you under the Apache License, Version 2.0 (the
7    * "License"); you may not use this file except in compliance
8    * with the License.  You may obtain a copy of the License at
9    *
10   *   https://www.apache.org/licenses/LICENSE-2.0
11   *
12   * Unless required by applicable law or agreed to in writing,
13   * software distributed under the License is distributed on an
14   * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15   * KIND, either express or implied.  See the License for the
16   * specific language governing permissions and limitations
17   * under the License.
18   */
19  package org.apache.commons.compress.harmony.pack200;
20  
21  /**
22   * This is intended to be used as a test class for unpacking a packed Jar file.
23   */
24  public class HelloWorld {
25  
26      public static void main(final String[] args) {
27          System.out.println("Hello world");
28      }
29  
30      int i = 97;
31      int j = 42;
32      int k = 12345;
33      float f = 3.142f;
34      float g = 2.718f;
35      long l = 299792458;
36  
37      double d = 4.0d;
38  
39      public HelloWorld[][] method(final int a, final int b, final int c) {
40          return null;
41      }
42  }