The main reason behind the static import feature in java5 is to reduce the unnecessary reference of class name to call static methods/fields. package import.static.test ; import static java.lang.Integer.MAX_VALUE ; import static java.lang.Integer.MIN_VALUE ; import static java.lang.System.out ; public class StaticImportExample { public static void main ( String args []) { //without Static import System . out . println ( "Maximum value of int variable in Java without " + "static import : " + Integer . MAX_VALUE ) ; System . out . println ( "Minimum value of int variable in Java without " + static import : " + Integer . MIN_VALUE ) ; ...
In race to achieve proactive Developing.