Static Import Statement 1.5v new features for-each loop var-args AutoBoxing and AutoUnBoxing Generic Method co-variant return type. Queue Annotation enum static import Static Import introduce in 1.5v according to sun uses of static import reduces the length of the code and improves readability but according world wide programming expert (like us uses of static import creates confusion and reduces readability hence if there is no specific requirement then it is not recommended to use static import. usually, we can access static members using the class names but whenever writing static import we can access static members directly without a class name. without sta...
I am trying to describe the core concepts of Java.I am trying to cover all the concepts of Java in easy way. I am trying to cover all the concepts of Java through this blog.