Java: sum of two integers being printed as concatenation of the two
- by girinie
class giri{
public static void main(String args[])
{
int x = 17;
int y = 013;
System.out.println("x+y = " + x+y);
}
}
When I run the program I get the output 1711. Can anybody tell me How do I get 1711