Give the output of the following method:
public static void main (String [ ] args){
int a = 5;
a++;
System.out.println(a);
a- = (a – -) – (- – a);
System.out.println(a);}
Answers
Answered by
3
Answer:
Output :-
6
4
Hope it helps .kindly mark it as brainliest.
Similar questions
Environmental Sciences,
2 months ago
Science,
2 months ago
Social Sciences,
4 months ago
English,
4 months ago
Chemistry,
11 months ago
Math,
11 months ago