0 votes
in JAVA by
Explain the expected output of the following code segment?

public class Madanswer

{  

    public static void main (String args[])   

    {  

        System.out.println(100 + 100 +“Madanswer");   

        System.out.println(“Learn Anything" + 100 + 100);  

    }  

}

1 Answer

0 votes
by
The answers for the two print statements are as follows.

200Madanswer

Learn Anything100100
...