![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
数据类型
wangzhen_beijing
这个作者很懒,什么都没留下…
展开
-
Int and Integer
:D [color=red]重要的是第五条[/color]1).Java 中的数据类型分为基本数据类型和复杂数据类型 int是前者,integer 是后者(也就是一个类) 2).初始化时int i =1; Integer i= new Integer(1);(要把integer 当做一个类看) int 是基本数据类型(面向过程留下的痕迹,不过是对java的有益补充...原创 2011-08-07 11:32:09 · 155 阅读 · 0 评论 -
BigInteger
1、问题:当用sql-query 语句做总数的查询操作时,提示类型转换错误,即:从BigInteger 到 long 类型的转换,如果换成query 语句做总数的查询,就不会出现此类错误,至于是什么原因发生这种错误,需要一个明确的总结。...原创 2011-08-09 23:23:34 · 183 阅读 · 0 评论