Can static variables be declared inside a local class?
A. Yes, with public access specifier
B. Yes, anywhere as required
C. No, not possible in private access specifier
D. No, not possible anyway
Answer:D
Can static variables be declared inside a local class?
A. Yes, with public access specifier B. Yes, anywhere as required C. No, not possible in private access specifier D. No, not possible anyway