Examlex

Solved

In the Following Code Snippet, What Is the Scope of Variable

question 6

Multiple Choice

In the following code snippet, what is the scope of variable b?
Public static void m1()
{
Int i = 0;
Double b = 0;
}
Public static void m2()
{
Double a = b + 1;
}
Public static void main(String[] args)
{
M1() ;
M2() ;
}


Definitions:

Adjusting Entries

Journal entries made in accounting to allocate income and expenses to the period in which they actually occurred.

Related Questions