Login
Remember
Register
Ask a Question
Explain the expected output of the following code segment?
0
votes
asked
Jun 1, 2022
in
JAVA
by
SakshiSharma
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);
}
}
java-output
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Jun 1, 2022
by
SakshiSharma
The answers for the two print statements are as follows.
200Madanswer
Learn Anything100100
...