If a local variable in a method has the same name as a variable in the main program, what will occur?

a) an error is generated
b) the variable in the main program is "hidden" until the method is finished executing
c) the variable in the main program will override the variable from the method
d) None of the above.

b) the variable in the main program is "hidden" until the method is finished executing

Computer Science & Information Technology

You might also like to view...

When instructions in RAM are followed, this is called the ________ cycle

Fill in the blank(s) with correct word

Computer Science & Information Technology

Excel import file types are limited to only two types of files, HTML and XML

Indicate whether the statement is true or false

Computer Science & Information Technology