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...