What is local variable?

Submitted by: Administrator
A data item known within a block, but inaccessible to code outside the block. For example, any variable defined within a method is a local variable and can't be used outside the method.
Submitted by: Administrator

Read Online J2SE Job Interview Questions And Answers