1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
seraphim [82]
1 year ago
11

What modifier should you use on the members of a class so that they are not accessible to another class in a different package,

but are accessible to any subclasses in any package
Computers and Technology
1 answer:
vova2212 [387]1 year ago
5 0

The private modifier specifies that only other members of the same class can access the member. The protected modifier restricts access to the member to within its own package.

<h3>What are public and private modifiers?</h3>

The public access modifier permits code from both inside and outside the class to access the class's methods and properties, whereas the private modifier prevents outside code from accessing the class's methods and properties.

Thus, private modifier is the member.

For more details about private modifier, click here

brainly.com/question/15108837

#SPJ1

You might be interested in
Have you ever tried using such a camera?​
guapka [62]

Answer: yeah i mean i use my canon camera

Explanation:

7 0
2 years ago
What is the current record holder for the fastest car in the world? What is the top speed of it? 100 points to whoever gets it c
olchik [2.2K]
It’s 257 mph

Hope this helps !!!!!
7 0
2 years ago
Read 2 more answers
TIME REMAINING 01:48:57 What is the purpose of the website directory provided by the website host? to look up user account infor
muminat

Answer:

Cookie

Explanation:

its just because and also the answer is right on e 2020.

8 0
2 years ago
Read 2 more answers
Which of the following statements about websites is NOT true?
Inga [223]
The correct answer choice would be letter B.

I hope that this helps !
6 0
3 years ago
Read 2 more answers
In this chapter, we use the metaphor of a blueprint and houses that are createdfrom the blueprint to describe classes and object
Pachacha [2.7K]

Answer:

The correct answer to the following question will be Classes.

Explanation:

Class:

  • Class and objects are the two basic concepts of Object-oriented programming language (Oops).
  • A prototype by which an object can be created.
  • A Class is a collection of data members and member functions.
  • A Class is a user-defined blueprint on an object.
  • Declaration of a class includes: Class names, modifiers, Super class, interfaces and body
8 0
3 years ago
Other questions:
  • What is the Code of Conduct/Ethics for the company/of Department of Defense?
    7·1 answer
  • What is an input, output and storage device?
    12·1 answer
  • Which does plug-and-play refer to?
    14·1 answer
  • [1] Please find all the candidate keys and the primary key (or composite primary key) Candidate Key: _______________________ Pri
    6·1 answer
  • What is wrong with the following C++ code? How would you fix it? int sum; for (int i=0; i&lt;1000; ++i) sum += i; { printf("Sum
    5·1 answer
  • What is the advantages and disadvantages of hardware devices and software devices ?
    9·1 answer
  • Explaio mode of Operation of x-ray​
    15·2 answers
  • En la historia del Computador porque se caracteriza la primera generación? *
    14·1 answer
  • Two strategies for keeping your files in sync
    6·1 answer
  • Discuss the ways you can perform to prevent your computer/device and its data/contents from being stolen. Define two-facto authe
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!