The access modifier that gives least accessibility is:

ICSE Class 10 Computer Applications PYQ · 2022 Semester 2 · Section A

1(viii)1 Mark · 2022 · Section A · 2022 Semester 2

The access modifier that gives least accessibility is:

Show SolutionHide Solution↓

private

Reason — A data member or member method declared as private is only accessible inside the class in which it is declared. Thus, it gives the least accessibility.

← Previous questionNext question →

Browse the free Computer Applications sample bank