exam questions

Exam 98-361 All Questions

View all questions & answers for the 98-361 exam

Exam 98-361 topic 1 question 5 discussion

Actual exam question from Microsoft's 98-361
Question #: 5
Topic #: 1
[All 98-361 Questions]

The purpose of a constructor in a class is to:

  • A. Initialize an object of that class.
  • B. Release the resources that the class holds.
  • C. Create a value type.
  • D. Inherit from the base class.
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️
Each value type has an implicit default constructor that initializes the default value of that type.

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
whyket90
6 months, 4 weeks ago
A see https://docs.microsoft.com/en-us/dotnet/csharp/programming-guide/classes-and-structs/constructors
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago