Originally posted by srikanth reddy:
hi
why A is false ..is it that classes means all(inner classes,top level classes)....
if there was only innerclasses instead of classes then i think it is true ..
am i right friends ??
thanks
sri
HI Srikanth
A. static can be applied to : instance variables, methods,
code Segments and classes.
Do you think you can use static keyword with instance variables. And if Yes, will the variables anymore remain instance variables.
If you use static with any variable, in becomes class variable.
hence A is false.
Hope you got it
Regards<br />Sandy<br />[SCJP 5.0 - 75%]<br />[SCWCD 1.4 - 85%]<br />------------------<br />Tiger, Tiger burning bright,<br />Like a geek who works all night,<br />What new-fangled bit or byte,<br />Could ease the hacker's weary plight?