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
I NEED THIS NOW!! :((
Finger [1]

which feature of a database allows a user to locate a specific record using keywords?

search

6 0
3 years ago
Read 2 more answers
It is against the law for drivers to use a wireless communication device while driving
Murrr4er [49]

Answer:

The statement is TRUE.

<h3>It is against the law for drivers to use a wireless communication device while driving.</h3>

Explanation:

  • Wireless Communication devices are nowadays one of the biggest causes of road accidents.
  • Using hand held or hands-free devices like mobile phones while driving is restricted strongly in the law. These laws may subject to primary and secondary enforcement by the authority.
  • Different states have passed laws concerning this scenario for different kinds of drivers and different devices accordingly.
  • Talking the scenario as a safety precaution to control road accidents one should try not to use communication devices while driving so that he/she may concentrate on the road properly.

<h2>I hope it will help you!</h2>
7 0
3 years ago
Express 0.0005 x 10-4 farads as picofarads
Oksana_A [137]
0.0005 x 10⁻⁴ Farad = 0.000 000 05 Farad.
1 pF = 0.000 000 000 001 Farad

Divide them and get 50000 pF.
3 0
3 years ago
Read 2 more answers
Write a simple BASIC program that
Jet001 [13]

Answer:

I think its B hope it helps ! Good luck

Explanation:

4 0
4 years ago
Answer to correct answer to numb 21
Varvara68 [4.7K]

*$M$3/4

this is answered first

4 0
3 years ago
Read 2 more answers
Other questions:
  • Suggest how the following requirements might be rewritten in a quantitative way. You may use any metrics you like to express the
    7·1 answer
  • Explain how abstraction is used in a GPS system
    12·2 answers
  • (True or False)
    8·2 answers
  • Write a static method named listcountriesoforigin, to be added to the bowl class, which is passed an array of bowl objects, and
    13·1 answer
  • Amina question and any other )
    14·1 answer
  • In Microsoft word when you highlight existing text you want to replace , you're in?
    15·1 answer
  • Consider a distributed denial of service (DDOS) attack, Assume the attacker has compromised a number of broadband connected comp
    9·1 answer
  • What is 1 of the rules for naming variables?
    14·1 answer
  • What is the difference between spyware and adware?
    8·2 answers
  • Please help with question
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!