|
|
|
|
|
by vbezhenar
2228 days ago
|
|
With Java I've seen coding standards that you can use `var` only when type is obvious from declaration. For example: var person = new Person();
var car = selectCarById(carId); // Car
if type is not obvious, it should be explicitly declared. |
|