javasecertification(2)
-
[Oracle_Java] Java SE: Programming Complete 2. Primitive Type, Operators, and Flow Control Statements. 2021.03.31
-
[ORC_Java Prep] 2. Local Variable Type Inference Local Variable Syntax for Lambda Parameters
All local variable declarations required an explicit type on the left side ByteArrayOutputStream outputStream = new ByteArrayOutputStream(); -> Explicit type can be replaced by the reserved type name var -> var outputStream = new ByteArrayOutputStream(); 해설) 1) Line 11: Var to Declare the name field. But there is not enough context to infer the data type. 2) Line 12: Var to declare the breed fie..
2021.03.29