A

Admin • 833.24K Points
Coach

Q. Which of the following will be the correct output for the C#.NET code snippet given below?
String s1 = "ALL MEN ARE CREATED EQUAL";
String s2; s2 = s1.Substring(12, 3);
Console.WriteLine(s2);

  • (A) ARE
  • (B) CRE
  • (C) CR
  • (D) REA
  • Correct Answer - Option(B)
  • Views: 34
  • Filed under category C# (C Sharp)
  • Hashtags:

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.