Klassemedlemmer class A{// klasse A private var owner :Object; private var x :Number;// attributt x public A(owner:Object) {// konstruktør this.owner = owner; } public setX(x:Number) {// accessor this.x = x; } public getX( ) :Number {// mutator return x; }
{}