Topic: JAVA有没有表示数据范围的 数据类型?

  Print this page

1.JAVA有没有表示数据范围的 数据类型? Copy to clipboard
Posted by: dahen
Posted on: 2005-04-28 15:36

就象 int,float或Integer 一样, 能够描述数据范围。例如:
range Age=[10,100];
表示年龄在10~100之间。


   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1
客服电话 18559299278    客服信箱 714923@qq.com    客服QQ 714923