摘要: 建立项目高速公路收费管理系统 标识符是用来给变量,类,方法以及包进行命名的。 标识符的命名规则 1.必须以字母、下划线“”、美元符“$”开头。 2.其他部分可以是字母、下划线“”、美元符“$”和数字的人员组合·。 3.大小写敏感,且长度无限制。 4.不可以是Java的关键字。 标识符使用规范 表示类 阅读全文
posted @ 2025-10-11 23:00 muyuxiaxing 阅读(6) 评论(0) 推荐(0)
摘要: package com.sxt; public class TestBreak { public static void main(String[] args) { int total=0; while(true) { total++; int i=(int)(Math.random()100); 阅读全文
posted @ 2025-10-11 22:59 muyuxiaxing 阅读(4) 评论(0) 推荐(0)