Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / February 2006

Tip: Looking for answers? Try searching our database.

Difference between static final members and final static members(if any)?

Thread view: 
JFCM - 07 Feb 2006 10:53 GMT
Please explain the difference.
Truong Hong Thi - 07 Feb 2006 11:14 GMT
No difference.
JFCM - 07 Feb 2006 11:20 GMT
But one of my project files involved a class which had nearly 15 data
members. The first 10 odd members were declared as
          public static final String X1 = "...";
          .
          .
          .

The remaining 5 odd members were declared as :
          public final static String Y1 = "....";
          .
          .
Thus arousing my suspicion.
Truong Hong Thi - 07 Feb 2006 11:26 GMT
It might be the results of copy/paste. There is no difference. It's
just the matter of style.
JFCM - 07 Feb 2006 11:32 GMT


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.