Q&A
Ask and answer questions to make information more available to wider audiences.
Moshe Carman @carmanmoshe   29, Jun 2023 12:00 AM
expected output of the code segment
Can someone explain the expected output of the following code segment?
public class Simplilearn   

{  

    public static void main (String args[])   

    {  

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

        System.out.println(“E-Learning Company" + 100 + 100);  

    }  

}

answers 1
 
Answer 1
Elizabeth Jamyson @jamysonelizabeth   04, Jul 2023 12:41 AM
200Simplilearn
E-Learning Company100100