当前位置:网站首页>increment operator

increment operator

2020-12-06 17:02:04 Irving the procedural ape

Self - increment operator :

With a++ and ++a For example

public class Demo4 { public static void main(String[] args) {  //++ --  Increase and decrease   Unary operator   int a = 3;  int b = a++;// First the a The value is assigned to  b, Give again  a  Self increasing   System.out.println(a);// here a The value of a  4  int c = ++a;.........

版权声明
本文为[Irving the procedural ape]所创,转载请带上原文链接,感谢
https://chowdera.com/2020/12/20201206170022212p.html