Booz Allen Hamilton interview question

What are the four scopes/modifiers of methods in java?

Interview Answer

Anonymous

13 Apr 2010

This was just a question by the interviewer to see how much I had retained from a language I learned long ago. The answer is protected, private, public, and default which is protected.

2