MCQ
A variable declared in one block has nothing to do with a variable with same name as declared in other block.” What can we say about this statement?
  • This statement is true.
  • B
    This statement is false.
  • C
    Depends upon data type
  • D
    Depends upon Java version

Answer

Correct option: A.
This statement is true.
This statement is true.

Need a full question paper?

Generate a complete, print-ready paper with questions like this in minutes — across 16+ boards, with answer keys.

Start Generating Free