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
Ksivusya [100]
3 years ago
15

Encapsulation means ________. 1. that data fields should be declared private2. that a class can extend another class 3. that a v

ariable of supertype can refer to a subtype object 4. that a class can contain another class
Computers and Technology
1 answer:
Maurinko [17]3 years ago
8 0

Answer:

Option 1 is the correct answer for the above question.

Explanation:

Encapsulation means rapper the data or variable or method on some pack and denies to give direct access for any private data. The above question wants to ask about the Encapsulation. The option 1 is correct for its because this option suggests a scenario, where a class field is declared as private and we know that private data members of the class can not be accessed by outside the class. It can access only the inside of the class. So it proves both the property of encapsulation one is to rapper the data and the other is to deny the directly accessed outside. So this option is correct while the other is not because--

  • Option 2 states that another class is extended by the base class which is not the property of encapsulation.
  • Option 3 states that a sub-type object can be referred by the variable of super-type which is also not the property of encapsulation.
  • Option 4 states that a class is contained by the other class which does not hold both the property of encapsulation.
You might be interested in
The collection of computer instructions and other files that constitute a piece of software is
lutik1710 [3]
The answer would be
A. Codebase

8 0
3 years ago
Read 2 more answers
And informative subject line is necessary for a good email true or false​
Yuki888 [10]

True.

A conscise and informative subject line is necessary for a good email. The subject line should give the receiver a good idea what the topic is of the email. An informative subject line also helps the recipient to identify the email as an important message and not spam.

7 0
3 years ago
There are many different types of hardware devices, different manufacturers, and countless configuration possibilities. Explain
erik [133]

Because, they are all required to configure to it to be recognized by an operating system.

Explanation:

It is the Operating System Software that instructs the hardware and puts them together to work well. When the manufacturer does not configure the device to be recognized by an operating system, then it will not work with other components.

Example.

If an Apple machine's sound card is being put in an HP machine which uses Microsoft designed operating system, won't work due to the operating system that the sound card has been designed for.

6 0
4 years ago
What is the lower House​
statuscvo [17]
What lower house need context
6 0
4 years ago
Which 4 frame types are found in Adobe InDesign? (Choose 4.)
Ugo [173]

Answer:

InDesign has three kinds of frames: text frames, graphic frames, and unassigned frames. Graphic Frames: When you use one of the Frame tools (those are the ones with an “X” in the middle of them), InDesign creates a graphic frame.

Explanation:

4 0
3 years ago
Other questions:
  • Which of the following components does a typical two stroke engine contain
    7·2 answers
  • Which is a credit card balance A. The amount of interest you must pay the credit card company B. The required minimum payment to
    5·1 answer
  • When you are printing handouts, which of these can you do? A. Save paper by placing more than one slide per page. B. Check the f
    7·1 answer
  • Consider a situation where we have a file shared between many people.  If one of the people tries editing the file, no other pe
    6·1 answer
  • Which best describes color blindness?
    8·1 answer
  • What function(s) does an interpreter perform with the instructions in a high-level programming language?
    11·1 answer
  • 5. Which one of the following statements is true for spell checkers? A. Most spell checkers flag inappropriate word usage. B. A
    5·1 answer
  • The merge sort algorithm____________.A. Can be used only on vectors of even length.B. Works by reducing vectors down to the base
    9·1 answer
  • Chemical equations of Carbon + water​
    14·1 answer
  • A program is required to three (3) numbers. calculate and print their total
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!