Java syntax: Difference between revisions

Content deleted Content added
Generic classes: Add main article
Static import declaration: Add main article
Line 322:
 
====Static import declaration====
{{Main|Static import}}
 
This type of declaration has been available since [[J2SE 5.0]]. [[static imports|Static import]] declarations allow access to static members defined in another class, interface, annotation, or enum; without specifying the class name: