On Sun, 14 Feb 1999, alexander lang wrote:
> Hi all.
>
> Does anyone know if one is allowed to initialize static final variables
> within the "try" clause of a static initializer block?
>
> (eg.
> static final int x;
> static{
> try
> {
> x = 5;
> }
> catch(exception e)
> {...and so on ..}
> )
in Java all variables with final qaulifier must be initialised during
decalration. so you can't compile this code
rajagopal
>
>
> ______________________________________________________
> Get Your Private, Free Email at http://www.hotmail.com
>
>