單項選擇題

You want to limit access to a method of a public class to members of the same class. Which access modifier accomplishes this objective?()  

A. Public
B. Private
C. Protected
D. Transient
E. No access modifier is required

微信掃碼免費搜題