Multiple Choice
public class scopeRule //Line 1
{ //Line 2
Static double intRate = 0.055; //Line 3
Static String name; //Line 4
Static int t; //Line 5 public static int main(String[] args) //Line 6
{ //Line 7
Int first; //Line 8
Double u, t; //Line 9
String str; //Line 10
//... //Line 11
} //Line 12 public static int first(int x, int y) //Line 13
{ //Line 14
Int t; //Line 15
//... //Line 16
} public static double salary; //Line 17 public static void funcOne(int first, double x) //Line 18
{ //Line 19
Char ch; //Line 20
Int y; //Line 21
//block one //Line 22
{ //Line 23
Int u = 18; //Line 24
//... //Line 25
} //end block one //Line 26
} //Line 27
} //Line 28Which of the following identifiers seen in the accompanying figure is visible in main?
A) t (Line 5)
B) salary (Line 17)
C) local variables of method funcOne
D) All identifiers are visible in main.
Correct Answer:

Verified
Correct Answer:
Verified
Q2: Just like the nesting of loops, Java
Q6: A local identifier is an identifier that
Q18: Actual and formal parameters have a one-to-one
Q19: The word static is a return type
Q23: Reference variables as parameters allow you to
Q34: An actual parameter is a variable or
Q36: Which of the following statements about strings
Q42: The technique to solve a problem by
Q47: Suppose that the following statement is included
Q48: public static double secret(int first, double second)<br>{<br>Double