FileDocCategorySizeDatePackage
GeneralFormatExample.javaAPI DocExample467Sun Feb 05 17:08:10 GMT 2006None

GeneralFormatExample

public class GeneralFormatExample extends Object

Fields Summary
Constructors Summary
Methods Summary
public static voidmain(java.lang.String[] args)

    URL u = new URL("http://www.example.com/Article.html");
    System.out.printf("boolean:   %b\n", u);
    System.out.printf("BOOLEAN:   %B\n", u);
    System.out.printf("hashcode:  %h\n", u);
    System.out.printf("HASHCODE:  %H\n", u);
    System.out.printf("string:    %s\n", u);
    System.out.printf("STRING:    %S\n", u);