Sunday, June 30, 2013

Java Static Import Example

Static Import Example Static import java is the great feature, which is available in Java 1.5. Before static import came into picture, the developer needs to access the members through class name. For Example : ClassName.methodName();                      ClassName.dataMember; But with static imports you just import the members in the import section of the class, i.e import static members at the top of the class, after package statement and before declaring class. If the class is too...

 
Disclaimer : If you find any mistakes / corrections / feedback Please let us know...This website author shall not accept liability or responsibility for any errors, mistakes or misstatements found in this website.