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
Lora (of mass 54 kg) is an expert skier. She
omeli [17]

The mechanical energy at top =Mechanical energy at bottom

  • Mass=m=54kg
  • Height=h=51m
  • Acceleration due to gravity=g=10m/s^2
  • Velocity=v=2.6m/s

\\ \tt\longmapsto M_{initial}=M_{Final}

  • Final energy at bottom=The kinetic energy

\\ \tt\longmapsto KE=M_{initial}

\\ \tt\longmapsto KE=P.E_{(Top)}+K.E_{(Top)}

\\ \tt\longmapsto K.E=mgh+\dfrac{1}{2}mv^2

\\ \tt\longmapsto K.E=m\left(gh+\dfrac{v^2}{2}\right)

\\ \tt\longmapsto K.E=54\left((10)(51)+\dfrac{2.6^2}{2}\right)

\\ \tt\longmapsto K.E=54\left(510+\dfrac{6.76}{2}\right)

\\ \tt\longmapsto K .E=54(510+3.38)

\\ \tt\longmapsto K.E=54(513.38)

\\ \tt\longmapsto K.E=27722.52J

\\ \tt\longmapsto K.E=27.7KJ

6 0
2 years ago
A scientist designed a foam container to help keep frozen foods from melting. Which best explains how the foam works?
FrozenT [24]
I think the answer should be D.<span>It reduces the amount of thermal energy that is transferred from outside to inside the container. </span>
6 0
3 years ago
Read 2 more answers
A spelunker is surveying a cave. She follows a passage that takes her a distance 184 m straight west, then a distance 220 m in a
Sever21 [200]
Refer to the diagram shown below.

Define the unit vector i to point in the eastern direction, and the unit vector j to point in the northern direction.

The first distance is 184 m west. It is represented by
d₁ = -184 i

The second distance is 220 m at 30° south of east. It is
d₂ = 220(cos 30° i - sin 30° j) = 190.53 i - 110 j

The third distance is 104 m at 80 east of north. It is
d₃ = 104(sin 80° i + cos 80° j) =  102.42 i + 18.06 j

Let the fourth distance be 
d₄ = a i + b j

Because the traveler ends back at the original position, the vector sum of the distances is zero. It means that each component of the vector sum is zero.

The x-component yields
-184 + 190.53 + 102.42 + a = 0
a = -108.95

The y-component yields
0 - 110 + 18.06 + b = 0
b = 91.94

The magnitude of the fourth displacement is
√[(-108.95)² + 91.94² ] = 142.56 m

The direction is at an angle θ north of west, given by
θ = tan⁻¹ (91.94/108.95) = 40.2°

Answer:
The fourth displacement has a magnitude of 142.56 m. It is about 40° north of west.

7 0
3 years ago
Read 2 more answers
a pillow , a textbook and a paper airplane are dropped from the top of a tall building at the same time. consider what you have
MAVERICK [17]

A textbook would hit the ground first


Factors:

-Textbook weighs most

-Pillow is flat and fluffy not very aerodynamic) also is very light

-Paper airplane will glide to the ground do to its wings and will hit the ground last

3 0
3 years ago
Read 2 more answers
object P1 and P2 are in a straight line with the normal to a plane mirror.If P1 and P2 are 18m and 21m away from the mirror. Cal
VARVARA [1.3K]

The distance between object P1 and its image formed is determined as 36 m.

<h3>Distance of the image</h3>

The distance of the image formed by object P1 is calculated as follows;

In a plane mirror; object distance = image distance

image distance of P1 = 18 m

distance between object and image = 18m + 18 m = 36 m

Thus, the distance between object P1 and its image formed is determined as 36 m.

Learn more about plane mirrors here: brainly.com/question/1126858

#SPJ1

8 0
2 years ago
Other questions:
  • Which system protects us from radiation and the vacuum of space
    11·2 answers
  • The particles of a medium will settle the rest position after a mechanical wave passes
    13·2 answers
  • A person driving a car suddenly applies the brakes. The car takes 4 s to come to rest while traveling 20 m at constant accelerat
    13·1 answer
  • How do massive stars change the atmosphere?
    13·1 answer
  • A flat circular loop of wire of radius 0.50 m that is carrying a 2.0-A current is in a uniform magnetic field of 0.30 T. What is
    10·1 answer
  • What are the public policy alternatives to hunger
    11·1 answer
  • A Force has a size and a(n)?
    10·2 answers
  • A golfer is 40.8 meters away from the green and swings so that the ball has an initial velocity of +20 m/s. Which of the followi
    5·1 answer
  • A 90-kg skydiver jumps from a height of 6000 m above the ground, falling head-first (pike position). The area of the diver is 0.
    6·1 answer
  • How far did Michael Phelps swim, if he swam at a speed of 10m/s in 30 seconds?
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!