PrepAway - Latest Free Exam Questions & Answers

Which of the following actions should you take?

You are employed as a developer at ABC.com. You make use of C# and ASP.NET for
development purposes.
You have received instructions to create a method for determining the concession for products
ABC.com sold. A variable, named percentValue, is of the type double and must be only be
available in the method.
Which of the following actions should you take?

PrepAway - Latest Free Exam Questions & Answers

A.
You should consider making use of the private access modifier for distinguishing the
percentValue variable.

B.
You should consider making use of the void access modifier for distinguishing the percentValue
variable.

C.
You should consider making use of the string access modifier for distinguishing the
percentValue variable.

D.
You should consider making use of the protected access modifier for distinguishing the
percentValue variable.

One Comment on “Which of the following actions should you take?


Leave a Reply