标签: java android android-studio
如何检查参数是否包含变量或字符串?例如:
String text = "hello"; //I want like this Demo(text); //But if he wrote like this give him error Demo("hello"); public void Demo(String text) { }