package ir.soheil_gh; | |
public class LocalVariableTypeInferenceExample1WithError { | |
public static void main(String[] args) { | |
var test; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This comment has been minimized.
Error:(6, 13) java: cannot infer type for local variable test (cannot use 'var' on variable without initializer)