FileDocCategorySizeDatePackage
FieldAccess.javaAPI DocExample454Tue Dec 12 18:58:26 GMT 2000None

FieldAccess

public class FieldAccess extends Object

Fields Summary
static int
si
String
s
Constructors Summary
Methods Summary
private native voidaccessFields()

public static voidmain(java.lang.String[] args)

    FieldAccess c = new FieldAccess();
    FieldAccess.si = 100;
    c.s = "abc";
    c.accessFields();
    System.out.println("In Java:");
    System.out.println("  FieldAccess.si = " + FieldAccess.si);
    System.out.println("  c.s = \"" + c.s + "\"");