- 1
How to output two numbers consequently in java
..
4 Respostas
+ 1
Use print and not println if that is what you are trying to ask.
+ 1
It should be-
("Numbers after swapping are = "+a+","+b)
0
Bro tell me if this is correct
System.out.println("numbers after swapping are"=+a,+b);
I want comma btwn two numbers when they are displayed
0
Ok..thanks bro