Skip to main content

Java 5



Java 5 is known as the “Tiger” release since it released many of the key features many of the developers used today. Many interview questions are based on this version. Following are the key features introduced in Java 5
  • Generics
  • Annotations
  • Autoboxing / Unboxing
  • Typesafe Enums
  • Varargs
  • Foreach Loop
  • Static Imports
  • Scanner Class
  • Assertions
  • StringBuilder