Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

Answers were Sorted based on User's Feedback



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

Answer / hk

Anything which follows string is converted to String.
Hence, "1" is string, and the digits 2 and 4 which comes
after this, also become part of string only.

So the answer is 124

Is This Answer Correct ?    70 Yes 2 No

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

Answer / kmbkrishnan

124

Is This Answer Correct ?    32 Yes 5 No

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

Answer / 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

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

Answer / madhu

answer is 124.

Is This Answer Correct ?    17 Yes 2 No

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

Answer / akash

it is 124 as it is ins tring format and after that what ever
b there is considered as string

Is This Answer Correct ?    8 Yes 0 No

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

Answer / shikha

answer is 124 as "1" in the starting is consider as a
string, therefore all other nos after that is consider as a
string unless brackets are not used.

Is This Answer Correct ?    7 Yes 0 No

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

Answer / jay

document.write("1"+ 2 + 4);

Is This Answer Correct ?    1 Yes 0 No

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

Answer / g.sai suresh

124

Is This Answer Correct ?    0 Yes 0 No

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

Answer / ashraf

I think ans is 16

Is This Answer Correct ?    4 Yes 17 No

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

Answer / ashwin

i think ans is 1+6

Is This Answer Correct ?    0 Yes 33 No

Post New Answer

More JavaScript Interview Questions

When would you use javascript closures?

0 Answers  


How do you organize your JavaScript code?

0 Answers   Arigo Infotech,


What is === in javascript?

0 Answers  


What are types of javascript?

0 Answers  


Does spread operator deep copy?

0 Answers  


what is the different between html and java?why the java is required in internet?

0 Answers  


Why javascript is fast?

0 Answers  


What is camelcase in programming?

0 Answers  


Is everything in javascript asynchronous?

0 Answers  


What is new function in javascript?

0 Answers  


What is Associative Array? How do we use it?

0 Answers  


TypeError: document.getelementbyid(...) is null?

0 Answers  


Categories