Scoping Rules in Java Programming

Scoping Rules in Java Programming

Previous Home Next

 

Scope: the region of program text in which a binding holds.

It has some rule which is…

• Static binding is prevalent in most modern PLs (Programming Language Concepts)
• New scope in each function.
• Activate bindings for parameters and locals.
• Deactivate bindings of global obscured by locals.
• Deactivate bindings upon function return.


 


 

Previous Home Next