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 block one?

A. name (Line 4)
B. t (Line 9)
C. local variables of main
D. x (Line 13)


Answer: A

Computer Science & Information Technology

You might also like to view...

Select all that apply. Which of the following statements is(are) true about named constants?

a. A named constant must be all uppercase. b. The content of a named constant is read-only. c. The value of a named constant cannot be changed while the program is running. d. A named constant is defined using the const qualifier. e. None of these

Computer Science & Information Technology

The function's header and footer contain the ____ keyword.

A. Sub B. FunctionProcedure C. SubFunction D. Function

Computer Science & Information Technology

Which of the following is a concept that attempts to perform multiple security functions within the same device or appliance?

A. UTM B. VPN C. UTP D. DMVP

Computer Science & Information Technology

When keying signature lines in legal documents, it is best to set which type of tab?

A. left B. left underline C. right D. right underline

Computer Science & Information Technology