Select the correct answerWhich of these access specifiers can be used for an interface?OptionsProtectedPublicprivateAll of these
Question
Solution 1
The correct answer is Public. In Java, interface methods are implicitly public and abstract. You cannot use private or protected with interface methods in Java. Knowee AI StudyGPT is a powerful AI-powered study tool designed to help you to solve study problem. Knowee AI StudyGPT is a powerful AI-powered study tool designed to help you to solve study problem. Knowee AI StudyGPT is a pow
l AI-powered study tool designed to help you to solve study problem. Knowee AI StudyGPT is a powerful AI-powered study tool designed to help you to solve study problem. Knowee AI StudyGPT is a powerful AI-powered study tool designed to help you to solve study problem. Knowee AI StudyGPT is a powerful AI-powered study tool designed to help you to solve study problem. Knowee AI Study
Similar Questions
Select the correct answerWhich of these access specifiers can be used for an interface?OptionsProtectedPublicprivateAll of these
t the correct answerWhich of the following access specifiers can be used for an interface?
Select the correct answerWhich of the following access specifiers can be used for an interface?OptionsProtectedPublicPublic, protected, privatePrivate
Which of these access specifiers can be used for an interface?OptionsPublicprivateAll of theseProtected
Select the correct answerWhich of these access specifiers must be used for main() method?Optionsprivatepublicprotectednone of the mentioned