16Which combination of modifiers is illegal for a method?Aabstract finalBprotected staticCprivate finalDpublic staticView AnswerDiscussWorkspaceReportSaveEasy
17Which access modifier makes a member visible only within its own class?Adefault (package)BpublicCprotectedDprivateView AnswerDiscussWorkspaceReportSaveEasy
18Which modifier lets a variable be read and written safely across threads without caching?AvolatileBstrictfpCnativeDtransientView AnswerDiscussWorkspaceReportSaveMedium
19Which access modifier makes a member visible only within its own class?AprivateBprotectedCdefault (package-private)DpublicView AnswerDiscussWorkspaceReportSaveEasy
20What does the static keyword mean for a field?AThe value cannot changeBOne copy is shared by all instances of the classCIt is privateDIt is stored on the stackView AnswerDiscussWorkspaceReportSaveEasy