exam questions

Exam 70-483 All Questions

View all questions & answers for the 70-483 exam

Exam 70-483 topic 2 question 24 discussion

Actual exam question from Microsoft's 70-483
Question #: 24
Topic #: 2
[All 70-483 Questions]

You need to create a method that can be called by using a varying number of parameters.
What should you use?

  • A. Method overloading
  • B. Derived classes
  • C. Named parameters
  • D. Enumeration
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️
Member overloading means creating two or more members on the same type that differ only in the number or type of parameters but have the same name.
Overloading is one of the most important techniques for improving usability, productivity, and readability of reusable libraries. Overloading on the number of parameters makes it possible to provide simpler versions of constructors and methods. Overloading on the parameter type makes it possible to use the same member name for members performing identical operations on a selected set of different types.

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
supersunny
Highly Voted 5 years, 9 months ago
A. method overloading
upvoted 6 times
...
SamSerpieol
Most Recent 4 years, 4 months ago
correct is A
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