在我的Android应用程序中,我需要检查一个变量是否已经定义,所以我没有得到空指针异常.有什么方法吗?
java variables android
android ×1
java ×1
variables ×1