Amazon Java Developer Mock Interview

Master 20 Amazon Java Developer interview questions covering system design, scalability, and Amazon's leadership principles.

WRITTEN BY WILLIAM SWANSEN
QUESTION 9 OF 20

Amazon application developers usually write their programs using Java. Can you describe how access modifiers are used in Java?

Technical questions asked in this fashion are requesting that you describe how a concept or process is used when programming in Java. When answering this type of question, you may want a skip defining the concept and simply state how it is used. You can still provide an example if this helps clarify your answer. Make sure to keep your answer brief and to the point. The Amazon interviewer will ask a follow-up question if they need additional information.

"Access modifiers are used to establish accessibility to classes, methods, and other members when writing code in the Java programming language. The four types of access modifiers are default, public, private, and protected. These define how the classes, methods and members can be accessed."

William Swansen
20 QUESTIONS & ANSWERS · AMAZON
See membership