"Fossies" - the Fresh Open Source Software Archive

Member "erltools/pub/java/test/hello.java.res" (24 Feb 2000, 1058 Bytes) of package /linux/misc/old/erltools-4.0.1.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 import java.io.*;
    2 
    3 public class hello {
    4     static  public void main ( String[] args )
    5     {
    6         int i ;
    7         
    8         i = 1 ;
    9         System.out.println("Hello World!");
   10         try {
   11             SimWired    simWired = new SimWired();
   12             simWired.mainSim();
   13         } catch ( Throwable t ) {
   14             System.out.println("Execption!!!");
   15             int k = 1 ;
   16         }
   17     }
   18     
   19     static  public void another ( String[12] args )
   20     {
   21         int         i ;
   22         AnObject    [20] oneObject ;
   23         
   24         i = 1 ;
   25         System.out.println("Hello World!");
   26         try {
   27             SimWired    simWired = new SimWired();
   28             simWired.mainSim();
   29         } catch ( Throwable t ) {
   30             System.out.println("Execption!!!");
   31             int k = 1 ;
   32         }
   33         a = b >>> 3 ;
   34         a >>>= 3 ;
   35         a = b >> 3 ;
   36         a >>= 3 ;
   37         
   38         byte    one ;
   39         
   40         one = 0x12 ;
   41         one = 02L ;
   42         one = 1.1d ;
   43         one = 1.1D ;
   44         one = .11f ;
   45         one = .71e5F ;
   46     }
   47 }