Ask Question
7 July, 18:26

A top level class may have only the following accessmodifier.

? Package

? Private

? Protected

? Public

+3
Answers (1)
  1. 7 July, 20:02
    0
    Answer: Public

    Explanation:

    A top level class can have a public, as top level cannot be private and protected because the modifier private is not allowed. As, top level is a class which is not a nested class. Interface of a access modifier is either public or no modifier. There are two types of access control modifier are top level - public and member level - private, protected.
Know the Answer?
Not Sure About the Answer?
Get an answer to your question ✅ “A top level class may have only the following accessmodifier. ? Package ? Private ? Protected ? Public ...” in 📙 Computers & Technology if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers