What's a static import?

John Zukowski

It lets you avoid qualifying static members with class names. If you import static java.lang.Math.PI; you can then use PI without qualifications.

0 Comments  (click to add your comment)
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

About | Sitemap | Contact