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
kondor19780726 [428]
3 years ago
14

A method in a class that modifies information about an object is called a/an ____ method.

Computers and Technology
1 answer:
exis [7]3 years ago
7 0
<span>A method in a class that modifies information about an object is called a <u>mutator</u> method.</span>
You might be interested in
This is C++
leonid [27]

Answer:

#include <cmath>

#include<iostream>

using namespace std;

int main()

{

double height, width;

cout<<"Enter wall height (feet): ";

cin>>height;

cout<<"Enter wall width (feet):  ";

cin>>width;

//1

double area;

area = width * height;

cout<<"Wall area: "<<area<<" square feet"<<"\n";

//2

const double gallon = area/350.0;

cout<<"Paint needed: "<<gallon<<" gallons"<<"\n";

//3

cout << "Cans needed :" << round(gallon) << " can(s)";  

return 0;

}

Explanation:

This line declares the height and width as double

double height, width;

This line prompts user for height

cout<<"Enter wall height (feet): ";

This line gets user input for height

cin>>height;

This line prompts user for width

cout<<"Enter wall width (feet):  ";

This line gets user input for width

cin>>width;

//1  Question 1 begins here

This line declares area as double

double area;

The line calculates area

area = width * height;

The line prints the calculated area

cout<<"Wall area: "<<area<<" square feet"<<"\n";

//2  Question 2 begins here

This line declares and calculates gallon as a constant double variable

const double gallon = area/350.0;

This line prints the calculated gallon

cout<<"Paint needed: "<<gallon<<" gallons"<<"\n";

//3  Question 3 begins here

This line rounds gallon to nearest whole number and prints the result

cout << "Cans needed :" << round(gallon) << " can(s)";  

Download cpp
7 0
3 years ago
In a case where electrical current leakage from the circuit occurs,
Zielflug [23.3K]

Answer:

The GFCI shuts down the circuit when it senses a current leakage.

Explanation:

The ground of a circuit should truly be ground. But if the ground circuit is not truly ground, then someone could get shocked. The GFCI monitors the possibility of current flow to ground. If this occurs, then the GFCI stops all flow of current, for safety reasons.

It also monitors if the current flow is interrupted. Say you drop something that is plugged in, into a sink of water. The GFCI should note the current loss, and shut down the circuit.

GFCI stands for: Ground-Fault Circuit Interrupter

4 0
3 years ago
Read 2 more answers
Python1. Assume that name is a variable of type String that has been assigned a value. Write an expression whose value is a Stri
suter [353]

Answer:

Expression for 1st option:

last_character=name[len(name)-1]

print(last_character)

Expression for 2rd option:

length_of_the_string=len(sentence)

print(length_of_the_string)

            or

length=0

for x in sentence:

   length=length+1

print(length)

Expression for 3rd option:

last_character=name[len(name)-1]

print(last_character)

Explanation:

  • The first and the third questions option are same, so the answer to those options are also the same.
  • The len function is used in python which is used to find the length of the string.
  • The user can also find the string length by the help second option which is written in option 2 answers. It uses a for loop which scans the character and counts the length.
  • The len function defines the length and if any user needs to print the last character then he can do it with the help of string size -1.
  • It is because the string is a collection of character array which index starts from 0 and ends in size-1.
3 0
4 years ago
What are some real-life situations that require a program that is iterative? Include at least three examples in your answer.
Hunter-Best [27]
<h2>Hello :D</h2>

Your answer should be:

Apple has released multiple different versions of each model of its iPod products. The Nano, for example, has evolved from an original slim mP3 player with a very small screen to a tiny square touch-screen version to a longer, thinner touch screen version.

<em>Hope this helped! </em>

<em>Brainliest appreciated :3</em>

7 0
3 years ago
Read 2 more answers
Which original VPN protocol is supported by most platforms but offers low levels of security?
Masja [62]

Answer:

vpn

Explanation:

PPTP is the least secure. ...

L2TP/IPsec is a good VPN solution for non-critical use; however, this protocol, like PPTP, has been compromised as well. ...

Across many areas of the IT world, OpenVPN is easily the best all-around VPN solution.

7 0
2 years ago
Other questions:
  • Which is a benefit of peer-to-peer networking?
    10·1 answer
  • Makes it possible to distribute both power and data using ethernet cabling. select one:
    12·1 answer
  • -How long does a copyright last?
    6·1 answer
  • You can invoke or call a method from another program or method. When methods must share data, you can pass the data into and ret
    6·1 answer
  • If you Buy my group clothing in R.o.b.l.o.x for a donation i will make you brainliest
    14·2 answers
  • How do you select a single cell, a single column, a single
    10·1 answer
  • What are the two main parts to a VR experience.
    12·1 answer
  • Can somebody please help me with these few questions?
    11·1 answer
  • Mark just finished reading the cay and must write a book report comparing events in the book to events in his life. based on eac
    8·1 answer
  • When formulating a linear programming model on a spreadsheet, the decisions to be made are located in the data cells.
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!