Java alternative for C# code

This question already has an answer here:

  • Does Java support default parameter values? 19 answers

  • The structure of Java handles this through function overloading. Basically, create a function that doesn't have expectedDisplayValue as a parameter and that function would call VerifyControlState (identifier, controltype, buttonProperty, "");

    See the Does Java support default parameter values? question for more details.

    链接地址: http://www.djcxy.com/p/20870.html

    上一篇: Android:如何为参数变量设置默认值

    下一篇: Java替代C#代码