Computer Science, asked by T4Talent, 1 year ago

(e) Name any two types of access specifiers.

Answers

Answered by tiara5
4
Ans. public, private, protected and default/package access specifiers
Answered by kalpraj1
1
Moving ahead to type of access specifiers, they are:

Public - The members declared as Public are accessible from outside the Class through an object of the class.Protected - The members declared as Protected are accessible from outside the class BUT only in a class derived from it.

Similar questions