Help for this page

Select Code to Download


  1. or download this
    public class Karl {
        private static String nose( String is){
    ...
        }
    }
    
  2. or download this
    karls-mac-mini:java karl$ java Karl
    inferior
    
  3. or download this
    karls-mac-mini:java karl$ javac Karl.java
    Karl.java:7: error: incompatible types: int cannot be converted to Str
    +ing
    ...
                                     ^
    Note: Some messages have been simplified; recompile with -Xdiags:verbo
    +se to get full output
    1 error
    
  4. or download this
    // ./lib/java/Karl.java                                               
    +                                            
    class Karl {
    ...
            return is;
        }
    }
    
  5. or download this
    #!/usr/bin/env perl                                                   
    +                                            
    
    ...
    say Karl->nose(1);
    
    __END__
    
  6. or download this
    karls-mac-mini:java karl$ ./java.pl
    inferior
    1