class MyClass { internal var varName; private var varInt = 1000; public function MyClass (name) { this.varName = name; } public function update ( ) { this.varInt += 100; } }