When to use static import in Java with example
|Top Tutorials||New Tutorials||Submit||Login||Register|
Total Hits: 13741
Total Votes: 145 votes
Category: JAVA/Core JAVA
Submitted on: 2013-05-10 16:09:30
Submitted By: Javin Paul
Description:Static import in Java is a pretty useful feature, which allows to only import static members of a certain class e.g. static fields and static methods. By importing static members, we can use them like they are member of same class. More detail...