CBSE BOARD XII, asked by vijay8953, 11 months ago

we would like to make a member of a class visible in all subclasses regardless of what package they are in use which one of the following two keywords would achieve this private protected public and private protected​

Answers

Answered by smitrmodi
0

Answer:

nonononono I not want to be a member of your classsssssssseeeeeeeeessssss

Answered by pavanadevassy
1

Answer:

Private protected members can be accessed only by code in the same class or struct it can be access only by code in the class .

Explanation:

Private protected members can be accessed only by code in the same class or struct it can be access only by code in the class . the members can be accessed within the class and by classes derived from that class.

private protected - the property or method can only be accessed within the class

#SPJ3

Similar questions