SyntaxFix
Write A Post
Hire A Developer
Questions
Assuming you start with variables:
int i=12; int j=12;
This will give output 1212:
1212
System.out.print(i+""+j);
And this will give output 24:
24
System.out.print(i+j);