equals所引出的空指针异常

equals所引出的空指针异常”java.lang.NullPointerException”

空指针异常是平常遇到算是很头痛的异常了
通常我们比较字符串是否相等,我们会用equals来比较;
Your browser is out-of-date!

Update your browser to view this website correctly. Update my browser now

×