Q. 2.
a. Write the output of the following program segment.
intx Sif (x>
b ! = b)
c = ++x +(- -)- - x) + b; a
System.out.println (c + "\" + x + "\t" + b); 19 S
lo
b. What will be the output of the following code?
char x = 'B';
inty;
y = (x = = 'b')? 'B': 'b';
System.out.println (“y = " + y);
c. What is the output of the following?
char c = 'B';
int m = 28;
int n = c + m;
System.out.println (n);
Answers
Answered by
0
Answer:
Explanation:
Answer will come out is..
Error Error You Have Interrupted something wrong please Correct it To Make a Equation
Similar questions