We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.
@Nexevis var in Java 10 is pure syntactic sugar to avoid writing the declaration type of the variable when it can be inferred from the created instance. The language is still strongly-typed.
A tag is a keyword or label that categorizes your question with other, similar questions. Choose one or more (up to 5) tags that will help answerers to find and interpret your question.
complete the sentence: my question is about...
use tags that describe things or concepts that are essential, not incidental to your question
var?10and10.0are both the same.varin Java 10 is pure syntactic sugar to avoid writing the declaration type of the variable when it can be inferred from the created instance. The language is still strongly-typed.===in Java is.equals()