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
Neporo4naja [7]
4 years ago
10

Consider the following statement: ptrMemberVarType objectThree(objectOne); The values of the member variables of objectOne are b

eing copied into the corresponding member variables of objectThree. This initialization is called the ____.
a. member-wise assignment
b. default initialization
c. member-wise initialization
d. default assignment
Computers and Technology
1 answer:
MariettaO [177]4 years ago
8 0

Answer: C) Member-wise initialization

Explanation:

 The member wise initialization is the shortest technique for initialize the various properties of the member into new structure. The initial value of the given properties are basically pass by the name to the member wise initialization.

The given statement is the type of value in which the member variable of the object one are copy into the member variable of the object three.

Therefore, this initialization process is basically known as member wise initialization.

 

You might be interested in
In some employment situations, not all personnel can immediately evacuate a work area per the eap. it may be that some equipment
Anika [276]
I think the correct answer from the choices listed above is option A. These personnel are referred to as critical personnel. They are em<span>ployees who may remain to shut down critical operations before evacuating. Hope this answers the question. Have a nice day.</span>
8 0
4 years ago
When is historical data not useful
ValentinkaMS [17]

Answer:

to address for setting cost increase of a resource to determine the amount of money needed for a future project to plan for future years operation costs to predict sales based on past growth

7 0
3 years ago
Horizontal scaling of a client/server architecture means _____.
Irina-Kira [14]

Answer:

D. I think

Explanation:

7 0
3 years ago
Write a class named GasTank containing: An instance variable named amount of type double, initialized to 0. An instance variable
telo118 [61]

Answer:

The class GasTank is defined below

All the steps are briefed in comments

public class GasTank {

// instance variable initialization

private double amount = 0;

//declaring instance variable capacitance

private double capacity;

//constructor having parameter of type double

public GasTank(double i)

{

capacity = i;

}

// addGas method for increasing gas quantity.

public void addGas(double i)

//quantity of gas increased is added to the existing amount. If it becomes more than total capacity, amount is set to capacity

{ amount += i; if(amount > capacity) amount = capacity; / amount = amount < capacity ? amount+i : capacity;/ }

//useGas method having parameter of type double

public void useGas(double i)

//the parameter given is deducted from 0 and if results less than 0, remains equal to 0

{ amount = amount < 0 ? 0 : amount - i; }

//method isEmpty

public boolean isEmpty()

//Returns true if volume is less than 0.1 else false

{ return amount < 0.1 ? true : false; }

//method isFull

public boolean isFull()

//returns true if the value of amount is greater than  0.1 else false.

{ return amount > (capacity-0.1) ? true : false; }

//method getGasLeve

public double getGasLevel()

//Returns the value of amount instance variable

{ return amount; }

//method fillUp

public double fillUp()

//returns the difference between the capacity and the amount

{ double blah = capacity - amount; amount = capacity; return blah; }

}

5 0
3 years ago
In UML behavioral modeling, a message is _____. (Points : 6) a named location in memory where information is deposited and retri
rusak2 [61]

Answer: a function or procedure call from one object to another object

Explanation: UML(Unified Modeling language) behavioral modeling is the depiction of the relation of the elements in a dynamic manner and the dependency on time .Message in the UML behavioral modeling is a functional call taking place from one element to another.

The interaction is the model is seen through the flow of messages.Other options are incorrect because message is not information holding data structure, does not display the relation between object rather presents the flow and is not a memory location .

7 0
3 years ago
Other questions:
  • A(n) combines video instruction and interaction with an instructor and students in an online classroom.
    9·1 answer
  • Based on the relational model, create the database metadata as part the physical designphase.b)from the metadata, write the sql
    10·1 answer
  • What type of code was Pinterest Pin button created in?
    10·1 answer
  • Which two ways should a developer create this functionality? A developer is asked to create a PDF quote document formatted using
    13·1 answer
  • Draw a logic circuit for the function F = (A + B)(B + C)(A + C), using NOR gates only. ​
    9·1 answer
  • Write a program that will take a user-input number and then display all of the whole # factors for that number. For example, if
    13·1 answer
  • Question # 2
    6·1 answer
  • Different the policies and protocols in the industry
    13·1 answer
  • Discuss the information justify with two examples<br>​
    11·1 answer
  • Lists Five Examples of simple statement<br>​
    5·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!