• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
CudGlory
博客园    首页    新随笔    联系   管理    订阅  订阅
2022年2月9日
基本数据类型的拓展问题
摘要: public class Demo03 { public static void main(String[] args) { //整数拓展: 进制问题 二进制(0b开头) 十进制 八进制(0开头) 十六进制(0x开头) int i = 10; int i1 = 010;//八进制是以0开头 int 阅读全文
posted @ 2022-02-09 16:05 CudGlory 阅读(35) 评论(0) 推荐(0)
IEDA中举例八大基本数据类型
摘要: public class Demo02 { public static void main(String[] args) { int num1 = 10;//最常用 byte num2 = 20;//byte最大赋值为127 short num3 = 30; long num4 = 40L;//Lo 阅读全文
posted @ 2022-02-09 16:04 CudGlory 阅读(49) 评论(0) 推荐(0)
博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3