0

What is Undescore keyword in java

from java 1.9 single underscore (_) is treated as keyword. what is the meaning of (_) single underscore keyword. can anyone tell pls....

16th Aug 2018, 6:31 PM
deepak kumar
deepak kumar - avatar
1 ответ
0
As far as I know it's just a reserved keyword so that you can't use it as an identifier (e.g. variable name). In the same way you can't call a variable int, because that is a reserved keyword. I believe it serves no actual use though, just like the goto keyword in Java
16th Aug 2018, 10:53 PM
Dan Walker
Dan Walker - avatar