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

Discussion in 'Java' started by JFCM, Feb 7, 2006.

  1. JFCM

    JFCM Guest

    Please explain the difference.
     
    JFCM, Feb 7, 2006
    #1
    1. Advertisements

  2. No difference.
     
    Truong Hong Thi, Feb 7, 2006
    #2
    1. Advertisements

  3. JFCM

    JFCM Guest

    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 = "...";
     
    JFCM, Feb 7, 2006
    #3
  4. It might be the results of copy/paste. There is no difference. It's
    just the matter of style.
     
    Truong Hong Thi, Feb 7, 2006
    #4
  5. JFCM

    JFCM Guest

    Thank you.
     
    JFCM, Feb 7, 2006
    #5
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.