Question: You want a class to have access to members of another class in the same package. Which is the most restrictive access that accomplishes this objective?
Options
A : public
B : private
C : protected
D : default access
Click to view Correct Answer
Declarations and Access Control - General Questions more questions
You want subclasses in any package to have access to....
Which three form part of correct array declarations?
Which of the following is/are legal method declarations?
Which three are valid method signatures in an interface?
What is the widest valid returnType for methodA in line....
Which one creates an instance of an array?
Which two of the following are legal declarations for nonnested....
Which of the following class level (nonlocal) variable declarations will....
Which two cause a compiler error?
Declarations and Access Control - General Questions more Online Exam Quiz
Satellite Communication - Part 1
General Principles - General Questions