class Function { int a=10; int b=20; void print1() { int a=100; int b=200; System.out.println("Sum="+(a+b)); } void print2() { System.out.println("Sum="+(a+b)); } } What will the output of print1( ) and print2( ) ?
Answers
Answered by
0
Answer:
30
Explanation:
sum of two number is 30
Similar questions