I am new to Java. When I am processing through the loop below I want to show the loop's counter value being incremented by 1. When I kept the below code of that I am getting the value as like of concatenate with 1 with the counter value. Why is the System.out.println
working with concatenation instead of addition?
for (c = 0; c < Size; c++) {
System.out.println("here the problem " + c+1 + " Case");
}