67 248
Assignments Done
99,3%
Successfully Done
In November 2018

Answer to Question #3573 in Java | JSP | JSF for Y mukundareddy

Question #3573
(5) Write a program to perform one increment operator and one decrement operator?
Expert's answer
public class Main {




public static void main(String[] args) {

int i = 5, j = 5;

i++;

j--;

System.out.println("Increment i: " + i + "
Decrement j: " + j);

}

}

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be first!

Leave a comment

Ask Your question

Submit
Privacy policy Terms and Conditions