if(username.equals(“zxx”)){}有什么不妥之处if(username.equals(“zxx”)){}有什么不妥之处[解决办法]username==null时会报NPE[解决办法]