char c="x";
int asciiX=(int)c;
System.out.println("the ascii code of char "+c+" is "+asciiX+" !");
int asciiX=(int)c;
System.out.println("the ascii code of char "+c+" is "+asciiX+" !");
解决方案 »
- 求救:Hibernate保存报错could not get a field value by reflection getter of 实体
- 关于servlet的配置
- 一个JSF布局的问题
- 请教各位大虾,struts2 的select标签怎样可以显示默认值
- 多jsp页面连接Sql server 2000数据库问题
- 刚学jsp,问关于数据库简单问题,有没有能存储二维表的数据的类阿
- jsp中怎样嵌入远程服务器的页面?
- struts的中文问题,急!
- 高分请教大家一个struts里面checkbox的问题!
- 关于servlet查询数据库的问题。
- 表单提交的怪问题。。。。怪,,
- 高分求教(JS里实现可编辑下拉框)
int i = c;
从char到int,可以直接写 int i = 'A';
从int到char,要这样写 char c = (char)65;