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
Orlov [11]
3 years ago
14

When you use information hiding by selecting which properties and methods of a class to make public, you are assured that your d

ata will be altered only by the properties and methods you choose and only in ways that you can control. True or false?
Computers and Technology
1 answer:
dusya [7]3 years ago
8 0

Answer:

True

Explanation:

Information hiding involves using private fields within classes and it's a feature found in all object-oriented languages such as Java, Python, C#, Ruby etc.

When you use information hiding by selecting which properties and methods of a class to make public, you are assured that your data will be altered only by the properties and methods you choose and only in ways that you can control.

You might be interested in
Write an expression that evaluates to true if and only if the value of the integer variable workedOvertime is true.
snow_tiger [21]

Answer:

The expression of this question can be given as:

(workedOvertime == true)

Explanation:  

This question explains by the following example that is written in C language can be given as:

#include <stdio.h>    //header file.

int main()    //main function.

{

   int workedOvertime=10;                //define integer variable

   int true=10;                                        

   if(workedOvertime==true)                      //check condition.

   {

   printf("true..");                       //true part code.

   }

   else

   {

   printf("false..");                          //false part code.

   }

   return 0;

}

In the above example there we define a integer variable name(workedOvertime) in this variable we assign a value. And we define another variable true in that we also assign a value. then we use if-else statement that is used for checking the value. If block always execute true value.So the answer is true.and the Expression is (workedOvertime==true).

4 0
3 years ago
Why you should care about copyright
DochEvi [55]

Copyright protects those words from being used in any form without the author's approval and it can lead to The law provides a range from $200 to $150,000 for each work copyrighted.

5 0
2 years ago
The cost to ship a package is a flat fee of 75 cents plus 25 cents per pound. 1. Declare a const named CENTS_PER_POUND and initi
viva [34]

Answer:

Replace /* Your solution goes here */

with

<em>const int CENTS_PER_POUND = 25; </em>

<em> cout << "Weight(lb): "; </em>

<em>cin >> shipWeightPounds; </em>

<em>shipCostCents = FLAT_FEE_CENTS + CENTS_PER_POUND * shipWeightPounds; </em>

<em />

Explanation:

This line declares and initializes CENTS_PER_POUND as constant integer to 25

const int CENTS_PER_POUND = 25;

This line prompts user for weight of shipment

cout << "Weight(lb): ";

This line gets weight from the user

cin >> shipWeightPounds;

This line calculates the cost of shipment

shipCostCents = FLAT_FEE_CENTS + CENTS_PER_POUND * shipWeightPounds;

4 0
2 years ago
Which of these words is used to begin a conditional statement?<br> when<br> input<br> if<br> until
LiRa [457]

Answer:

'if'

Explanation:

The if word is used in an if-statement (a type of conditional statement) that allows the computer to do certain computations based on what the conditional statement evaluates to.

Hope this helps :)

5 0
2 years ago
Upon connecting to a Wi-Fi network, you're redirected to a login screen and a request to accept terms of service before being co
kakasveta [241]

Answer:

captive portal

Explanation:

Captive portal -

It is a web page , which is opened along side the web browser which get displayed on to the fresh connected users of the Wi-Fi network , just before it gets the assurance to use the resources of the network , is known as captive portal .

Generally captive portal requires authentication or payment for access the internet resource .

Hence , from the question information , the example shown in the question is about captive portal .

4 0
3 years ago
Other questions:
  • If you press the tab key when you're in in the last cell of a table,
    10·1 answer
  • A _________ consists of a set of computers that interconnect by means of a relatively unsecure network and makes use of encrypti
    5·1 answer
  • If you're using the paintbrush tool and want to change the color of the paint being used what should you change
    6·1 answer
  • What percentage of business are using social media today
    14·1 answer
  • Which browser should you choose if you want all viewing information except thumbnail previews of websites?
    15·2 answers
  • 10.7 LAB: Fat-burning heart rate Write a program that calculates an adult's fat-burning heart rate, which is 70% of 220 minus th
    8·1 answer
  • What is a multipurpose network device?
    10·1 answer
  • Please Help meeeeeeeeeee:
    11·2 answers
  • Jonah wants to type an assignment using Word. Arrange the steps he needs to follow in the correct order.?
    13·1 answer
  • Data elements in a relational database are organized into ____
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!