Computer Applications
Related Questions
Explain visibility in terms of the following access modifiers:
- public
- private
- protected
- no modifier specified
Why is it a good idea to make all instance variables private?
Explain the scope of the following variables in Java:
- Local variables
- Parameter variables
- Instance variables
- Class variables
Explain the scope of variables in blocks and sub-blocks.