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
Darina [25.2K]
3 years ago
10

What object oriented feature can we use to have a single test program, with one set of method calls in which the user can decide

which bag implementation (array- or link-based) needs testing?
Physics
1 answer:
SVETLANKA909090 [29]3 years ago
8 0

Answer:

The answer is "Polymorphism".

Explanation:

Polymorphism is a feature of the object-oriented programming (OOPs) language, in which data or an object is dividing into more than one form. In other words, we can say that the capacity of various objects to obtain and react in different ways is polymorphism. It enables interaction with both objects and common interfaces that hide various details of their implementation.

You might be interested in
Match these items.
Nitella [24]

Explanation :

(1) Involuntary muscles are the muscles that are not controlled by our will.

(2) Tendons are the connective tissues that join the muscle to bones. Tendons are tissues that have fibers.

(3) Cardiac muscle is also involuntary muscles. For example heart muscle. It shows contraction and relaxation throughout life.

(4) Voluntary muscle is the muscles that are not controlled by our will.  

(5) Biceps are the arm muscles.

Hence, this the required explanation as per options.

4 0
3 years ago
You exert of force of 75 newtons on a rock. You push and you push, but you can't budge it. You are exhausted! How much work did
sergiy2304 [10]
You performed 0 work for the fact that work means the distance of movement made on an object not the amount of force it is exposed to. 0 work because it didn't move
7 0
3 years ago
A key falls from a bridge that is 45 m above the water. the key falls straight down and lands in a model boat traveling at a con
erastova [34]

Let the key is free falling, therefore from equation of motion

h = ut +\frac{1}{2}gt^2..

Take initial velocity, u=0, so

h = 0\times t + \frac{1}{2}g t^2= \frac{1}{2}gt^2.

h = 0\times t + \frac{1}{2}g t^2= \frac{1}{2}gt^2 \\\ t =\sqrt{\frac{2h}{g} }

As velocity moves with constant velocity of 3.5 m/s, therefore we can use formula

d= v \times t

From above substituting t,

d = v \times \sqrt{\frac{2h}{g} }.

Now substituting all the given values and g = 9.8 m/s^2, we get

d = 3.5 \ m/s \times \sqrt{\frac{2 \times 45 m}{9.8 m/s^2} } = 10.60 m.

Thus, the distance the boat was from the point of impact when the key was released is 10.60 m.

7 0
3 years ago
In a 350-m race, runner A starts from rest and accelerates at 1.6 m/s^2 for the first 30 m and then runs at constant speed. Runn
kifflom [539]

Answer:

B can take 0.64 sec for the longest nap .

Explanation:

Given that,

Total distance = 350 m

Acceleration of A = 1.6 m/s²

Distance = 30 m

Acceleration of B = 2.0 m/s²

We need to calculate the time for A

Using equation of motion

s=ut+\dfrac{1}{2}at_{A}^2

Put the value in the equation

30=0+\dfrac{1}{2}\times1.6\times t_{A}^2

t_{A}=\sqrt{\dfrac{30\times2}{1.6}}

t_{A}=6.12\ sec

We need to calculate the time for B

Using equation of motion

s=ut+\dfrac{1}{2}at_{B}^2

Put the value in the equation

30=0+\dfrac{1}{2}\times2.0\times t_{B}^2

t_{B}=\sqrt{\dfrac{30\times2}{2.0}}

t_{B}=5.48\ sec

We need to calculate the time for longest nap

Using formula for difference of time

t'=t_{A}-t_{B}

t'=6.12-5.48

t'=0.64\ s

Hence, B can take 0.64 sec for the longest nap .

4 0
3 years ago
Kepler’s third law can be used to derive the relation between the orbital period, P (measured in days), and the semimajor axis,
NikAS [45]
Kepler's 3rd law is given as
P² = kA³
where
P = period, days
A = semimajor axis, AU
k = constant

Given:
P = 687 days
A = 1.52 AU

Therefore
k = P²/A³ = 687²/1.52³ = 1.3439 x 10⁵ days²/AU³

Answer:  1.3439 x 10⁵ (days²/AU³)

8 0
3 years ago
Read 2 more answers
Other questions:
  • Vector A, with magnitude 28.0 units, points in the positive y-direction. Vector A + B has a magnitude of 19.0 units and points i
    9·1 answer
  • Once a baseball has been hit into the air, what forces are acting upon it? How can you tell that any forces are acting upon the
    8·1 answer
  • An object has a charge of 4.5 c is it negative or positive
    15·2 answers
  • The resultant of two vectors is maximum, when angle between them is:
    11·1 answer
  • You need to get to class, which is 282 meters away. You can only walk in the hallway at about 2.0 m/s (if you go any faster, you
    15·1 answer
  • A 41.0-kg child swings in a swing supported by two chains, each 3.04 m long. The tension in each chain at the lowest point is 35
    12·1 answer
  • This important factor of survival for the coral reef is
    13·1 answer
  • . Determinar la magnitud de la fuerza que recibe un cuerpo de 45 kg, la cual le produce una aceleración cuya magnitud es de 5 m/
    11·1 answer
  • A person riding a bike has an initial velocity of 2.5 m/s and accelerates at a rate of 1.5 m/s2 for
    14·1 answer
  • PLEASE ANSWER NEED HELP!!!!!!!! PLEASE THE CORRECT ANSWER!!!!!!
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!