Menu
Question Index
...

What will be the output of the following program?

class TestingProgram
{
    public static void main(String args[])
    {
        System.out.print("The output is : ");
        System.out.println("1" + 3);
    }
}


The output is :
13
The output is : 13
The output is : 4
The output is :
4
Compilation Error

Doubts

Problems

Topic: Java String Concatenation with Other Data Types

Read this topic
Take test on this topic

0
Wrong
Score more than 2 points

© meritcampus 2019

All Rights Reserved.

Open In App