203k views
4 votes
The blank space in the following sentence has to be correctly filled :

Members of a class specified as .................... are accessible only to methods of that class.

(a) Protected
(b) Final
(c) Public
(d) Private
(e) Static.

User Jakob Borg
by
8.2k points

1 Answer

1 vote

Final answer:

In object-oriented programming, private members of a class are accessible only to methods of that class.

Step-by-step explanation:

In object-oriented programming, the blank must be filled with 'private'. Members of a class specified as private are accessible only to methods of that class. Private members are not visible or accessible outside the class.

User Artemiygrn
by
8.7k points

No related questions found