Back to Freecodecamp

Task 30

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

latest1.8 KB
Original Source
<!-- (Audio) Mark: Got it. And what about "inheritance"? Does this mean passing down code from one project to another? -->

--instructions--

Listen to the audio and answer the question below.

--questions--

--text--

What is Mark asking about inheritance?

--answers--

If it means transferring functionality from one project to another.


If it means copying all the code from one project to another.

--feedback--

Mark is asking if it means transferring code within projects, not copying entire code.


If it means using the same code for all projects.

--feedback--

Mark is not asking about reusing code across all projects.


If it means breaking down code into smaller pieces.

--feedback--

Mark's question is not about breaking down code.

--video-solution--

1

--explanation--

By saying passing down code from one project to another, Mark is asking if inheritance means transferring code or functionality from one project to another.

--scene--

json
{
  "setup": {
    "background": "company2-center.png",
    "characters": [
      {
        "character": "Mark",
        "position": {
          "x": 50,
          "y": 0,
          "z": 1.4
        },
        "opacity": 0
      }
    ],
    "audio": {
      "filename": "B1_16-1.mp3",
      "startTime": 1,
      "startTimestamp": 47.2,
      "finishTimestamp": 52.88
    }
  },
  "commands": [
    {
      "character": "Mark",
      "opacity": 1,
      "startTime": 0
    },
    {
      "character": "Mark",
      "startTime": 1,
      "finishTime": 6.68,
      "dialogue": {
        "text": "Got it. And what about inheritance? Does this mean passing down code from one project to another?",
        "align": "center"
      }
    },
    {
      "character": "Mark",
      "opacity": 0,
      "startTime": 7.18
    }
  ]
}