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

  1. // input: []
  2. // output: 9
  3. package {
  4. public class PrivateCall {
  5. public static function main():int{
  6. var f:OtherClass = new OtherClass();
  7. return f.func();
  8. }
  9. }
  10. }
  11. class OtherClass {
  12. private function pf():int {
  13. return 9;
  14. }
  15. public function func():int {
  16. return this.pf();
  17. }
  18. }