J2SE Question: Download J2SE PDF

What is local variable?

Tweet Share WhatsApp

Answers:

Answer #1A 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.

Answer #2When a variable defined by inside of the class is called local variable.

Download J2SE PDF Read All 214 J2SE Questions
Previous QuestionNext Question
What is member class?What is linker?