What output will the program produce:
System.out.println(x+"+"+y+"="+(x+y));



What output will the program produce: System.out.println(x+"+"+y+"="+(x+y));..

Answer / anu shibin

if x=2, y=4, the output will be :

2+4=6

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More JavaScript Interview Questions

Which built-in method adds one or more elements to the end of an array and returns the new length of the array?

0 Answers  


What is the disadvantage of javascript?

0 Answers  


What is a function object?

0 Answers  


What is DOM? What is the use of document object?

0 Answers  


How to submit a form using JavaScript by clicking a link?

0 Answers  






Explain “use strict” ?

0 Answers  


What output will this program produce System.out.println(x+"+"+y+"="+(x+));

0 Answers  


Why is var better than let?

0 Answers  


Can I learn javascript without knowing java?

0 Answers  


How to achieve inheritance in javascript?

0 Answers  


What are the different types of errors available in javascript?

0 Answers  


What is global variable in javascript?

0 Answers  


Categories