New Features in Java There are many new features that have been added in java. There are major enhancement made in Java5,…
static import
-
-
Variable Argument (Varargs): The varrags allows the method to accept zero or muliple arguments. Before varargs either we use overloaded method or…
-
Java Static Import The static import feature of Java 5 facilitate the java programmer to access any static member of a class…
-
Java Enums The Enum in Java is a data type which contains a fixed set of constants. It can be used for…
-
Java For-each Loop | Enhanced For Loop The Java for-each loop or enhanced for loop is introduced since J2SE 5.0. It provides…
-
Assertion: Assertion is a statement in java. It can be used to test your assumptions about the program. While executing assertion, it…
-
Autoboxing and Unboxing: The automatic conversion of primitive data types into its equivalent Wrapper type is known as boxing and opposite operation…