New Year Special - 75% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: ac75sure

You work as a Software Developer for ManSoft Inc.

You work as a Software Developer for ManSoft Inc. You create an application using Visual Studio .NET

2005. You write the following code snippet in the application:

int amt = 50;

String s = "John gave me " + amt + " dollars";

Console.WriteLine(s);

What will be the output of the above code?

A.

"John gave me amt dollars"

B.

"John gave me 50 dollars"

C.

Integer variable cannot concatenate with the string

D.

Invalid type cast exception

GSSP-.NET PDF/Engine
  • Printable Format
  • Value of Money
  • 100% Pass Assurance
  • Verified Answers
  • Researched by Industry Experts
  • Based on Real Exams Scenarios
  • 100% Real Questions
buy now GSSP-.NET pdf
Get 75% Discount on All Products, Use Coupon: "ac75sure"