Back to Freecodecamp

Task 17

curriculum/challenges/english/blocks/learn-how-to-clarify-misunderstandings/67e6adba69bb642f4f4029a2.md

latest2.5 KB
Original Source
<!-- (Audio) Sophie: Kind of. "Polymorphism" refers to a function or object that can behave differently depending on the context. It's not just about having different shapes, but about being flexible in how it operates. -->

--instructions--

Listen to the audio and answer the question below.

--questions--

--text--

What does Sophie explain about polymorphism?

--answers--

It means a function or object that behaves the same in all situations.

--feedback--

Sophie talks about how polymorphism can behave differently.


It means a function or object that can work differently based on the context.


It means a function or object that only has one form.

--feedback--

Sophie emphasizes that polymorphism is not just about one form.


It means a function or object that is not flexible.

--feedback--

Sophie highlights flexibility as an important feature of polymorphism.

--video-solution--

2

--explanation--

Sophie describes polymorphism as the ability of a function or object to change its behavior depending on the context. This means that polymorphism is not fixed or static — it adapts and behaves differently in different situations.

She uses not just ... but to further clarify that polymorphism isn't merely about having different forms (shapes); it is about the flexibility of the function or object in how it operates. This highlights the core idea that polymorphism is about functionality, not just appearance.

--scene--

json
{
  "setup": {
    "background": "company2-center.png",
    "characters": [
      {
        "character": "Sophie",
        "position": {
          "x": 50,
          "y": 0,
          "z": 1.4
        },
        "opacity": 0
      }
    ],
    "audio": {
      "filename": "B1_16-1.mp3",
      "startTime": 1,
      "startTimestamp": 17.2,
      "finishTimestamp": 27.86
    }
  },
  "commands": [
    {
      "character": "Sophie",
      "opacity": 1,
      "startTime": 0
    },
    {
      "character": "Sophie",
      "startTime": 1,
      "finishTime": 6.9,
      "dialogue": {
        "text": "Kind of. Polymorphism refers to a function or object that can behave differently depending on the context.",
        "align": "center"
      }
    },
    {
      "character": "Sophie",
      "startTime": 7.32,
      "finishTime": 11.66,
      "dialogue": {
        "text": "It's not just about having different shapes, but about being flexible in how it operates.",
        "align": "center"
      }
    },
    {
      "character": "Sophie",
      "opacity": 0,
      "startTime": 12.16
    }
  ]
}