Post

๐ŸŒ’ Eclipse IDE
๐ŸŒ’ Eclipse IDE@EclipseJavaIDEยท
Java 12 will make changes to the switch statement. It can now be assigned to variables so the snippet below compiles. What is the output though?
๐ŸŒ’ Eclipse IDE tweet media
English
36
64
235
0
Ahmed Ghannam
Ahmed Ghannam@FieryPhoenix7ยท
@EclipseJavaIDE Looking forward to this one. So much more elegant than the current approach.
English
0
0
5
0
Joel Neely
Joel Neely@joelneelyยท
@EclipseJavaIDE @java No longer a statement. Why not just refer to it as a โ€œswitch expressionโ€?
English
1
0
1
0
Jitendra
Jitendra@Jitendra4806ยท
@EclipseJavaIDE @java Statement doesn't say anything about break however it is assigning value to variable, I will consider break is not required, so it is false
English
0
0
0
0
Eqi
Eqi@moxspoyยท
Pulo Gadung, Indonesia ๐Ÿ‡ฎ๐Ÿ‡ฉ English
0
0
0
0
Josefo ฮฑฮด
Josefo ฮฑฮด@josefoamdzยท
@EclipseJavaIDE Old Java tells me true, Java 12 seems that no break could not be necessary so false is the answer.
English
0
0
0
0
๊ณต์œ