Computer Science, asked by amanaramamanaram34, 7 months ago

Write Java Expression for the following:

2(xy+ yz+zx) where x, y, z are all variables.​

Answers

Answered by latha7680910600
2

Answer:

Mention two different styles of expressing a comment in a program. [2]

Show Answer

(d) Differentiate between operator and expression. [2]

Show Answer

(e) If m=5 and n=2 output values of m and n after execution in (i) and (ii):

(i) m- = n

(ii) n= m + m/n [2]

Show Answer

Question 3

(a) What will be the output of the following, if x = 5 initially?

(i) 5 * ++x

(ii) 5 * x++ [2]

Show Answer

(b) What is the output of the following?

char c = 'A';

short m = 26;

int n = c+m;

System.out.println(n); [2]

Show Answer

2006

Similar questions