Computer Science, asked by rvguptaknp, 3 months ago

What will be result of n when int n=9; n*=9. System.out.println("The Output is ="+n);​

Answers

Answered by kavithks
1

Answer:

The statement n += 4 is equivalent to:

++n

n=n+4 ✓

n+1

none

Question 2

What will be the output of a & b in the following, if int a, b; a=10; b=a++;

10,10

10,11

11,10 ✓

11,11

Question 3

What will be the output of a++ when int a = -1;

1

-1

0 ✓

none

Question 4

If int a = 25, b = 5, c = 0; what value is stored in c? When c = a % b;

5.0

5

0 ✓

none

Question 5

What is the result of the following in Java statement?

int m=8;

m*=8;

System.out.println("The output =" + m);

8

64 ✓

16

88

if u want more info go w3schools and click on java on left hand side

Explanation:

radhe radhe

Similar questions