This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes What is Advantage of Staic Import feature of Java Tiger? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "What is Advantage of Staic Import feature of Java Tiger?" Watch "What is Advantage of Staic Import feature of Java Tiger?" New topic
Author

What is Advantage of Staic Import feature of Java Tiger?

somkiat puisungnoen
Ranch Hand

Joined: Jul 04, 2003
Posts: 1312
I'm found Static Import , it's new feature of Java Tiger.

This facility lets you avoid qualifying static members with class names without the shortcomings of the "Constant Interface antipattern." Refer to JSR 201.


What is advantage of this feature ?


SCJA,SCJP,SCWCD,SCBCD,SCEA I
Java Developer, Thailand
Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8919

http://java.sun.com/j2se/1.5.0/docs/guide/language/static-import.html


Groovy
Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8919

Tutorial
http://www.sys-con.com/story/print.cfm?storyid=46281
somkiat puisungnoen
Ranch Hand

Joined: Jul 04, 2003
Posts: 1312
Thank you very much.
Ko Ko Naing
Ranch Hand

Joined: Jun 08, 2002
Posts: 3178
Hi somkiat,
Pradeep, Peter(the author) and me also got a nice conversation in this thread, where you can read the Peter's opinion on static import feature of Tiger...

Hope it helps too...


Co-author of SCMAD Exam Guide, Author of JMADPlus
SCJP1.2, CCNA, SCWCD1.4, SCBCD1.3, SCMAD1.0, SCJA1.0, SCJP6.0
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: What is Advantage of Staic Import feature of Java Tiger?