December 26, 2009

15. Can we access non static variable / instance variable form a static method?

No. Because, the static block how come know the variable values (instance variable values) of objects.

No comments :

Post a Comment