String strw = "1";
Short shot = new Short(strw);
System.out.println("" + shot);
Byte by = new Byte(strw);
System.out.println("" + by);
Short shot = new Short(strw);
System.out.println("" + shot);
Byte by = new Byte(strw);
System.out.println("" + by);
解决方案 »
- 最近来访的实现思路?
- ext panel 问题
- 点击图标出现,一段文字说明的JS
- 网上书店数据库问题
- 奇怪的问题,部分中文乱码
- 这是源文件
- 刚学finereport报表,在项目中使用报错: 找不到数据连接 有人在项目中用过finereport吗 帮下忙啊
- SmartUpload:下载文件小于8K就失败,why?why?why?
- 菜鸟问题:Resin下如何设置虚拟目录?
- JRun中用SQL SERVER200 JDBC如何用DATA SOURCE?谢谢!
- 运行startup.bat后java窗口一闪就没有了?
- <input type="file" name="photo" value="c:\photo.jpg">初始值?
Short shot = new Short(strw);
short s = shot.shortValue();
System.out.println("" + s);
Byte by = new Byte(strw);
byte b = by.byteValue();
System.out.println("" + b);