You want subclasses in any package to have access to members of a superclass.…

PYQ RPSC Programmer 2011

You want subclasses in any package to have access to members of a superclass. Which is the most restrictive access that accomplishes this objective?

  1. A.

    Public

  2. B.

    Private

  3. C.

    Protected

  4. D.

    Transient

Attempted by 2 students.

Sign up free to check your answer

Sign up free

Explore the full course: Rpsc Programmer

Loading lesson…