Quiz: Enforcing Architecture Boundaries

Take a quiz to test your understanding of enforcing architecture boundaries.

1

Why can’t we rely on Java’s visibility modifiers alone to enforce architecture boundaries?

A)

Because the visibility modifiers don’t understand the concept of sub-packages

B)

Because we can’t trust the developers to use the right visibility modifiers

C)

Because we have to make all classes public, anyway

D)

All of the above

Question 1 of 20 attempted

Get hands-on with 1200+ tech skills courses.