What does "1"+2+4 evaluate to?

Answer Posted / hk & kmbkrishnan

Write a program in java and execute it with the following
code bellow:

System.out.println("1"+2+4);

And see the output.

Thanks & Regards
Hk and Kmbkrishnan

Is This Answer Correct ?    28 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can a page be forced to load another page in javascript?

651


What is a currying function?

489


What is the purpose of using javascript?

500


What are javascript functions?

473


List few difference between primitive and non primitive javascript data types?

500






What is a framework programming?

461


How do I unblock javascript in chrome?

515


How do I turn off javascript in chrome?

464


Can an anonymous function be assigned to a variable?

515


What is the use of blur function in JavaScript?

520


What are the javascript data types?

499


Explain unescape() and escape() in javascript?

563


What are the Non-primitive data types in JavaScript?

547


How to count the number of element in an array using javascript?

548


Explain with an example the use of event handlers in javascript.

534