{
  "app": {
    "name": "Mokabla",
    "url": "https://www.mokabla.com",
    "description": "Real interview questions from companies in Egypt, organised by company. Access is sold per company for 30 days."
  },
  "page": {
    "kind": "question",
    "title": "Question · oop-pillars-explained",
    "humanPath": "/en/c/incorta/oop-pillars-explained",
    "humanOnly": false
  },
  "identity": {
    "class": "declared",
    "agent": "ClaudeBot",
    "operator": "Anthropic",
    "verified": false,
    "reason": "The user agent is ClaudeBot (Anthropic), which identifies itself as an AI agent.",
    "signals": [
      "Known agent user agent"
    ],
    "claimable": false
  },
  "state": {
    "question": {
      "slug": "oop-pillars-explained",
      "title": "OOP Pillars",
      "difficulty": "easy",
      "tags": [
        "oop-design",
        "technical",
        "swe",
        "intern",
        "fundamentals"
      ],
      "is_free": true,
      "locked": false,
      "frequency": 0.333,
      "last_reported_at": "2025-07-25T11:12:59.132855Z",
      "url": "https://www.mokabla.com/en/c/incorta/oop-pillars-explained",
      "agent": {
        "page": "https://www.mokabla.com/agent/en/c/incorta/oop-pillars-explained",
        "question": "https://www.mokabla.com/agent/_call/get_question?company=incorta&question=oop-pillars-explained"
      },
      "company": {
        "slug": "incorta",
        "name_en": "Incorta"
      },
      "body_md": "## What they ask\n\nThe second half of the intern technical call is a conversation, not code: \"explain the four pillars of object-oriented programming, with an example for each in the language you used in the assessment.\"\n\nExpect the interviewer to push on each one:\n\n- **Encapsulation**: why private fields plus getters instead of public fields? When is a getter itself a smell?\n- **Abstraction**: interface vs abstract class in Java or C#. When would you choose one over the other?\n- **Inheritance**: overriding vs overloading, what `super` does, why deep hierarchies hurt, and when composition is the better tool.\n- **Polymorphism**: compile-time vs run-time dispatch, and a concrete case where a base-class reference calls a subclass method.\n\nFor a fresh-grad round they also drift into basics from the same family: what a constructor is, static vs instance members, and how a `Map` or a hash set behaves.\n\n## What they look for\n\n- Definitions that come with a real example, not textbook sentences.\n- Knowing the trade-offs (composition over inheritance, interface segregation) rather than only the vocabulary.\n- Comfort switching between \"what\" and \"why\": if you say \"polymorphism lets us treat objects uniformly\", be ready to show a two-line snippet that does it.",
      "follow_ups_md": "- Show an example where inheritance is the wrong choice and composition fixes it.\n- What is the difference between an abstract class with no methods and an interface?\n- How does `equals` and `hashCode` (or `__eq__` and `__hash__`) relate to encapsulation?"
    },
    "paid": false,
    "access": "Question bodies are paid content: a person buys 30 days of access per company (200 EGP or 200 points) in the human app. Agents get titles, tags and difficulty; bodies only for free questions."
  },
  "actions": [
    {
      "name": "get_question",
      "description": "One question with its body. Bodies are paid content unless the question is free.",
      "permission": "allow",
      "sideEffect": "read",
      "input": {
        "company": "string",
        "question": "string"
      },
      "href": "https://www.mokabla.com/agent/_call/get_question?company=incorta&question=oop-pillars-explained",
      "ready": true,
      "missing": [],
      "humanPath": "https://www.mokabla.com/en/pricing"
    },
    {
      "name": "list_questions",
      "description": "The questions reported at a company: titles, tags, difficulty, whether each is free or paid.",
      "permission": "allow",
      "sideEffect": "read",
      "input": {
        "company": "string",
        "page": "number?"
      },
      "href": "https://www.mokabla.com/agent/_call/list_questions?company=incorta",
      "ready": true,
      "missing": []
    },
    {
      "name": "buy_access",
      "description": "Buy 30 days of access to a company.",
      "permission": "block",
      "reason": "This action is for people only",
      "ruleId": "R1",
      "sideEffect": "payment",
      "input": {
        "company": "string"
      },
      "href": "https://www.mokabla.com/agent/_call/buy_access?company=incorta",
      "ready": true,
      "missing": [],
      "humanPath": "https://www.mokabla.com/en/pricing"
    },
    {
      "name": "post_comment",
      "description": "Comment on a question.",
      "permission": "block",
      "reason": "This action is for people only",
      "ruleId": "R1",
      "sideEffect": "write",
      "input": {
        "question": "string",
        "text": "string"
      },
      "href": "https://www.mokabla.com/agent/_call/post_comment?question=oop-pillars-explained",
      "ready": false,
      "missing": [
        "text"
      ],
      "humanPath": "https://www.mokabla.com/en/companies"
    }
  ],
  "navigate": [
    {
      "label": "This question, as data (free questions only)",
      "href": "https://www.mokabla.com/agent/_call/get_question?company=incorta&question=oop-pillars-explained"
    },
    {
      "label": "All questions at this company",
      "href": "https://www.mokabla.com/agent/_call/list_questions?company=incorta"
    },
    {
      "label": "The company page",
      "href": "https://www.mokabla.com/agent/en/c/incorta"
    },
    {
      "label": "OOP Pillars · page",
      "href": "https://www.mokabla.com/agent/en/c/incorta/oop-pillars-explained"
    }
  ],
  "notices": [
    {
      "severity": "info",
      "message": "This classification is final for the session: it came from a strong signal, not a guess. The human pages are not served to agents."
    },
    {
      "severity": "info",
      "message": "Unverified agents are read-only. Signed requests (Web Bot Auth) are the path to write access."
    }
  ],
  "meta": {
    "requestId": "ag_ebfb46f84eea",
    "policyVersion": "mokabla-2026-11-03",
    "generatedAt": "2026-11-03T17:38:40.528Z",
    "jsonUrl": "https://www.mokabla.com/agent/en/c/incorta/oop-pillars-explained?format=json",
    "manifestUrl": "https://www.mokabla.com/.well-known/agentgate.json",
    "humanUrl": "https://www.mokabla.com/en/c/incorta/oop-pillars-explained",
    "humanClaimUrl": "https://www.mokabla.com/agent/_claim/human?to=%2Fen%2Fc%2Fincorta%2Foop-pillars-explained"
  }
}