0
Comma
how i am avoiding from printing comma at the end of the list. (using " for " loop in the program) example: 15,20,30, to cancel the comma after 30.
5 Answers
+ 4
x ? y : z
means if x is true, do y, else do z.
+ 4
+ 3
System.out.print(x + (x == 30) ? "." : ",");
Thats nothing but if else.
0
what?
0
can you give me yout what's app number?