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...

The statement to declare strName as a variable that can hold character data is _______________.

a. Dim strName As Text b. Dim strName As Single c. Dim strName As Word d. Dim strName As String

Computer Science & Information Technology

If you are an artist, you'll probably enjoy creating photos and illustrations using your PC.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

When a UNIX user logs on, the __________ of the user's home directory is recorded in the process's system data area.

a. i-node b. i-number c. i-list d. super block

Computer Science & Information Technology

A ________ is assigned a unique color or pattern represented in the chart legend

A) data range B) data point C) data marker D) data series

Computer Science & Information Technology