class X { private var x:int; public function X() { x = 3; } private function Y(y : int) : int { return y; } } var x : X = new X();