Computer Science, asked by Uday1122, 1 year ago

You want to restrict the access for a method to the containing class or to a class that is derived from the containing class. which access modifier should you use for this method?

Answers

Answered by Ashoka19
1
protected is the access modifier that we must use.
Similar questions