a)
Write down the output of the following:
int a = 20;
System.out.println (a++);
System.out.pruntio (++a);
a+=2;
System.
out. printin (a);
Answers
Answered by
2
OUTPUT OF THE SEGMENT :
20
22
24
Answered by
0
Given Program is :
int a = 20;
System.out.println (a++);
System.out.pruntio (++a);
a+=2;
System.
out. printin (a);
The output of the program is :
20
22
24.
Similar questions
Math,
2 months ago
Political Science,
2 months ago
Environmental Sciences,
3 months ago
Math,
3 months ago
History,
11 months ago