This discussion is archived
2 Replies Latest reply: Jan 21, 2010 2:00 PM by jschellSomeoneStoleMyAlias RSS

Initialize static final fields??

843789 Newbie
Currently Being Moderated
public class Test
{
      public static final int NUM;
      static
      {
            NUM = 1;
      }
}
Why it is initialized like this?
Please explain completely.......