PHP __call equivalent for java

后端 未结 5 1039
醉梦人生
醉梦人生 2021-02-07 10:11

Is there a Java equivalent for the __call of PHP?

It would make sense to me if that\'s not the case, because it would probably result in compiler errors.

From th

5条回答
  •  面向向阳花
    2021-02-07 11:03

    No, java is a compiled language and the compiler wants to make sure that every function you call actually exists.

提交回复
热议问题