Inner class cannot have non-final static variables. (but some rule applies again for final static variables)
* Inner class can have final static variables.
static final int i = 10;
static final
String s = "hello";
* But the following is wrong ( the static final variable cannot be initialized using an expression. "new" in the following code)
static final String s = new String("hello");
static final Integer ii = new Integer("12");
static String ss = "testing"; // not final
(Please Refer the inner class specs)
Please let me know if am wrong ..
[This message has been edited by jon c (edited September 29, 2000).]