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

Related questions

0 votes
asked Apr 14, 2022 in SAP Concur Expense Administration by rajeshsharma
0 votes
asked Dec 15, 2023 in ReactJS by rahuljain1
...