In Java, what's the difference between public, default, protected, and private?
Are there clear rules on when to use each of these when making classes and interfaces and dealing with inheritance?
Other
Can you answer this question?
Write Answer1 Answers