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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

Why is my javascript function not defined?

549


What are the main features of javascript?

575


How to get an element by class in javascript ?

588


Can you have a function within a function in javascript?

552


How to get inner html of an element in javascript?

530






What are the boolean operators supported by javascript? And operator: &&

560


what is a code in vb amount display in words

1429


why can't we call a static method from a non-static method

1882


Why is javascript good for websites?

573


Explain event bubbling and event capturing in javascript?

538


hello sir my name is naga sekhar i completed my b-tech in 2011 with 61% in IT streme.I completed my core and advanced java coure before 8months back.Still i did not get the job.i tried so many times.and i went to some interviews but no use.now i want to get the job in software sector

1940


What is string in javascript?

587


What is a closure in javascript?

662


How do I turn off javascript in chrome?

545


How would you check if a variable is null/undefined?

637