当前位置: 技术问答>java相关
数值型转化为字符串输出
来源: 互联网 发布时间:2015-02-25
本文导语: int MaxHh; out.println(String.valueOf(MaxHh); 为什么编译时出现 org.apache.jasper.JasperException: Unable to compile class for JSPF:MyJavaBsDatherbsdatagatherworklocalhost_8080_0002fnew_0002ejspnew_jsp_9.java:112: ?? MaxHh ???????? ...
int MaxHh;
out.println(String.valueOf(MaxHh);
为什么编译时出现
org.apache.jasper.JasperException: Unable to compile class for JSPF:MyJavaBsDatherbsdatagatherworklocalhost_8080_0002fnew_0002ejspnew_jsp_9.java:112: ?? MaxHh ????????
out.println(String.valueOf(MaxHh));
应该如何转化才正确呢?谢谢!
out.println(String.valueOf(MaxHh);
为什么编译时出现
org.apache.jasper.JasperException: Unable to compile class for JSPF:MyJavaBsDatherbsdatagatherworklocalhost_8080_0002fnew_0002ejspnew_jsp_9.java:112: ?? MaxHh ????????
out.println(String.valueOf(MaxHh));
应该如何转化才正确呢?谢谢!
|
int MaxHh = 0;
out.println(String.valueOf(MaxHh));
or
int MaxHh = 0;
out.println(MaxHh);
out.println(String.valueOf(MaxHh));
or
int MaxHh = 0;
out.println(MaxHh);