Shared Tutorials

Tutorials Shared by the Internet Community
Advertisements

  Top Tutorials     New Tutorials     Submit     Login     Register  

Tutorial Basic Detail

When to use static import in Java with example

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.
http://javarevisited.blogspot.com/2012/10/what-is-static-import-in-java-5-example-tutorial.html

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.

Rating Detail

 Stars  Percentage  Total Vote
 One star  Vote LeftVote MiddleVote Right 40.11%  71
 Two starsTwo star  Vote LeftVote MiddleVote Right 8.47%  15
 Three starsThree starsThree stars  Vote LeftVote MiddleVote Right 9.6%  17
 Four starsFour starsFour starsFour stars  Vote LeftVote MiddleVote Right 9.6%  17
 Five starsFive starsFive starsFive starsFive stars  Vote LeftVote MiddleVote Right 32.2%  57

Caste Your Vote

 Rating  Selection  Guidelines
 Poor:     Very disappointing, useless.
 Fair:     Below average, disappointing but not useless.
 Good:     About average in its class.
 Very Good:     Above average for its category.
 Excellent:     One of the best Tutorials in its category.





Advertisements
Advertisements