9.4k views
1 vote
The private field, which is known as the property‘s __________, holds any data that is assigned to the property.a. private datab. backing fieldc. holding valued. masked variable

User Metacubed
by
6.4k points

1 Answer

2 votes

Answer:

(b) backing field

Step-by-step explanation:

A backing field of a property is a private field that stores or holds any data assigned to the property. Backing fields are generated for a class property if that property uses the default implementation of the accessor methods in that class.

Backing fields help to make codes readable, flexible and robust as they enhance encapsulation - one great feature in Object Oriented Programming.

User Tktsubota
by
6.6k points