Computer Science, asked by AashriK, 11 months ago

What is the output of the following program?
class Static
{ static int m=0;
static int n - 0;
public void Test()
{ int m - 10;
Int x - 20:
{ int n = 30;
System.out.println("
m n
" + m + n) :
X = m +n;
System.out.println("x" +x);​

Attachments:

Answers

Answered by lalitya28
16

Answer:

m+n = 10+30

and

x=40

i am sorry if it turns wrong

Answered by sumit45dt
1

Answer:

PLEASE MARK ME AS BRAINLIST

Attachments:
Similar questions