Scope Of Variables - in Nested/Multiple Blocks in Java States that variables declared in outer blocks will be accessible in inner blocks, where as variables declared in inner blocks can not be used outside of the block.
Nestedmultiple blocks CODE class NestedMultipleBlocks OUTPUT x = 10 DESCRIPTION Here THINGS TO TRY
|