Algorithms I - Module 0: Java Review Value Equality v.s. Reference Equality ▶为什么primitive不分value和reference的比较,而其他类型区分 TypeReference Equality== 比较Value Equalityequals() 比较Primitivevalu 2025-04-06 CS #Java #data-structure-and-algorithms
Java: Module3 Lesson 5 Scanner.nextLine() input.nextInt(); 读取整数后,为什么需要紧接着调用 input.nextLine(),为什么需要这个额外的 nextLine()? 问题的根源 在 Java 的 Scanner 中: nextInt() 读取整数 但不会读取换行符,只读取数值部分。 用户在输入整数时按下 Enter,这个 Enter 生成的换行符 (\n) 仍然留在输入流中。 2025-03-30 CS #oop #Java
git常用命令 新建仓库步骤 GitHub网页上新建仓库,填好仓库名称,点击code复制链接,到本地terminal找到想放置的路径下面 12git clone https://github.com/xx/{repository name} # 所在路径下面会新建一个仓库名称的文件夹 如果是本地还没有验证登录过github,需要输入自己的user name以及到GitHub网页上 settin 2025-03-01 CS #git
Tiny Habits: The elements of behavior Vocabulary word meaning word meaning converge 汇合,相交 elliptical strider 椭圆机 stride 跨步 heart-wrenching heartbreaking fundraiser 筹款人 dubious 半信半疑的 account for 解释说明 regimen 养生之道 on the flip 2025-01-03 Books #English