Ask Question
12 April, 01:01

A top level class may have only the following accessmodifier.

? Package

? Private

? Protected

? Public

+1
Answers (1)
  1. 12 April, 04:26
    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?
Find an answer to your question ✅ “A top level class may have only the following accessmodifier. ? Package ? Private ? Protected ? Public ...” in 📘 Computers and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers