Static Import
The static import feature of Java 5 facilitates the Java programmer to access any static member of a class directly.
There is no need to qualify it by the class name.
The Advantage of static import Less coding is required if you have access any static member of a class often.
The Disadvantage of static import: If you overuse the static import feature, it makes the program unreadable and unmaintainable.
Example of static import in Java :
import static java.lang.System.*;
class StaticImportExample
{
public static void main(String args[])
{
out.println("Hello");
out.println("World");
}
}