FileDocCategorySizeDatePackage
Alias1.javaAPI DocExample2788Mon Apr 06 18:10:22 BST 1998None

Alias1

public class Alias1 extends Object

Fields Summary
int
i
Constructors Summary
Alias1(int ii)

 i = ii; 
Methods Summary
public static voidmain(java.lang.String[] args)

    Alias1 x = new Alias1(7);
    Alias1 y = x; // Assign the handle
    System.out.println("x: " + x.i);
    System.out.println("y: " + y.i);
    System.out.println("Incrementing x");
    x.i++;
    System.out.println("x: " + x.i);
    System.out.println("y: " + y.i);