//判断男MF
public static String parseGender(String cid) {

String gender = null;
char c = cid.charAt(cid.length()-2);
int sex = Integer.parseInt(String.valueOf(c));
if(sex%2==0){
gender = "F";
}else{
gender = "M";
}
return gender;
}

相关文章:

  • 2022-12-23
  • 2021-10-28
  • 2022-12-23
  • 2022-12-23
  • 2021-08-13
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-02-22
  • 2022-12-23
  • 2022-12-23
  • 2022-01-18
  • 2022-12-23
相关资源
相似解决方案