我不完全确定这在Java中是否可行,但是我如何使用在声明的if语句之外的if语句中声明的字符串?
java scope if-statement
if-statement ×1
java ×1
scope ×1