if(status.equals(null))
{
status="Pass";
}
from above code it throws `NullPointerException`, please give solution for comparing value with `null`.
Do you want to check for null or "null" string?
以上就是NullPointerException when comparing with null values in java的详细内容,更多请关注web前端其它相关文章!