Question 11


Question

Multiple Choice

An applicaton includes a class named Person. The Person class includes a method named GetData.
You need to ensure that the GetData() from the Person class.
Which access modifer should you use for the GetData() method?

  • A. Internal
  • B. Protected
  • C. Private
  • D. Protected internal
  • E. Public

Answer:

B