You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
300 B
21 lines
300 B
// input: []
|
|
// output: 9
|
|
|
|
package {
|
|
public class PrivateCall {
|
|
public static function main():int{
|
|
var f:OtherClass = new OtherClass();
|
|
return f.func();
|
|
}
|
|
}
|
|
}
|
|
|
|
class OtherClass {
|
|
private function pf():int {
|
|
return 9;
|
|
}
|
|
|
|
public function func():int {
|
|
return this.pf();
|
|
}
|
|
}
|