Aryan PrajapatKnowledge Contributor
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); } }
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); } }
The answers for the two print statements are as follows.
200Simplilearn
E-Learning Company100100