Integer Formatting

Report a typo
public static void main(String[] args){
    long val = 120L;
    System.out.printf("The distance between two towns %d", val);
}

What is the output of the above code?

Select one option from the list
___

Create a free account to access the full topic