Home » JAVA Programming » Java Basic » Question
  1. Using which annotation non visible or private method can be tested?
    1. @NonVisible
    2. @Visible
    3. @VisibleForTesting
    4. @NonVisibleForTesting
    5. None of these
Correct Option: C

Using @VisibleForTesting annotation private or non visible method can be tested.



Your comments will be displayed only after manual approval.