0

Isn't "var" reserved word?

Isn't var reserved word since java 11? Would " int var=5 " really compile?

3rd Sep 2019, 11:56 AM
Kristýna Labudová
Kristýna Labudová - avatar
3 Réponses
+ 3
why not try it yourself, if it does you know better if it doesn't you know better, win win either way
3rd Sep 2019, 12:28 PM
✳AsterisK✳
✳AsterisK✳ - avatar
0
Yea it's odd var var = "var"; Also works
3rd Sep 2019, 3:44 PM
D_Stark
D_Stark - avatar
0
That's a good question
3rd Sep 2019, 8:27 PM
Yurishama Yurishi
Yurishama Yurishi - avatar