Computer Science, asked by Anonymous, 16 days ago

class Static
{ static int m=0;
static int n = 0;
public static void main(String args[])
{int m= 10;
int x = 20;
{int n = 30;
System.out.println("m + n =" + m + n) ;
}
x = m + n ;
System.out.println("x =" +x);
}
}​
How the value of x is coming 10?

Answers

Answered by kkavithakavitha95
2

Answer

Mark me as brainlist answer

Similar questions