Skip to content

andbin.dev

My technical blog on software development

  • Home
  • About
  • Contact
  • Resources
andbin.dev
My technical blog on software development

Java 10

The Java language release 10

Java

The “var” syntax for local variables since Java 10

Byandbin August 9, 2022March 9, 2023

Java 10, released on March 2018, has introduced the new “var” syntax. This small but helpful feature allows you to declare local variables using the word “var” instead of specifying the variable type. This article is focused on describing all the essential rules about this new feature clearly and concisely.

Read More The “var” syntax for local variables since Java 10

Recent Posts

  • Overview of all Java versions
  • Two cases of wrong inheritance usage
  • Dumping the Spring Environment in Spring Boot
  • A hypothetical mapStream for the Java Stream API
  • Iterating two collections simultaneously

Archives

  • September 2023
  • August 2023
  • July 2023
  • June 2023
  • May 2023
  • April 2023
  • March 2023
  • February 2023
  • January 2023
  • October 2022
  • September 2022
  • August 2022
  • July 2022

Categories

  • General
  • Java
  • Java / Spring Boot

Except where otherwise noted, all content on this site is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

Creative Commons Attribution-ShareAlike Logo

Privacy/Cookie Policy

© 2023 andbin.dev - WordPress Theme by Kadence WP

Scroll to top
  • Home
  • About
  • Contact
  • Resources