Java alternative for C# code
This question already has an answer here:
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.
上一篇: Android:如何为参数变量设置默认值
下一篇: Java替代C#代码