Home
Sign Up
Sign In
cndotaer's recent timeline updates
cndotaer
V2EX member #515907, joined on 2020-11-04 12:05:21 +08:00
cndotaer
提问
技术话题
好玩
工作信息
交易信息
城市相关
cndotaer's recent replies
Dec 31, 2021
Replied to a topic by
Newyorkcity
›
问与答
›
Java 中,一个 final 的 List 变量,被往里加了元素,算不算违反了 final 这个关键词在这里暗示的约定?
https://docs.oracle.com/javase/specs/jls/se7/html/jls-4.html#jls-4.12.4
If a final variable holds a reference to an object, then the state of the object may be changed by operations on the object, but the variable will always refer to the same object.
»
More replies by cndotaer
About
·
Help
·
Advertise
·
Blog
·
API
·
FAQ
·
Solana
·
3588 Online
Highest 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 365ms ·
UTC 04:59
·
PVG 12:59
·
LAX 21:59
·
JFK 00:59
♥ Do have faith in what you're doing.
❯