Java - 编程题遗漏的语法知识点

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/ZK_J1994/article/details/81453151
  • 字符串拼接
" " + "1";
" ".concat("1");
  • 数字字符串转数字
Integer.valueOf("1");
  • 数字字符转数字
int num = '9' - '0';

猜你喜欢

转载自blog.csdn.net/ZK_J1994/article/details/81453151