目录引言try-cache-finallytry-with-resourcestry-with-resources 语句能放多个资源,使用 ; 分割try-with-resources 语句也可以有 catch 和 finally 块引言
I have code similar to: if conditionA(x, y, z) then doA() else if conditionB(x, y, z) then doB() ... else if conditionZ(x, y, z) then doZ()