A

Admin • 802.91K Points
Coach

Q. Which is the correct way to declare an object of the class in C#?

  • (A) Class_Name Object_Name = new Class_Name();
  • (B) Class_Name Object_Name;
  • (C) new Object_Name as Class_Name();
  • (D) Both A and B
  • Correct Answer - Option(D)
  • Views: 6
  • 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.