# AH OOP concepts

{% hint style="info" %}
The first STACS up-skilling series offered an in-depth look at OOP for advanced higher and in particular polymorphism. The series begins with OOP basics and then reviews key ideas about object types, subclasses and arrays of objects. The final sessions focus on what polymorphism concepts are expected for AH.
{% endhint %}

<table data-view="cards"><thead><tr><th></th><th></th><th data-hidden data-card-cover data-type="image">Cover image</th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><h4>OOP session 1</h4></td><td>OOP basics</td><td><a href="/files/Qgx0BPAnwlMAgaYpSKqC">/files/Qgx0BPAnwlMAgaYpSKqC</a></td><td><a href="/pages/Pp1MQDTgeML17V1qA4xl">/pages/Pp1MQDTgeML17V1qA4xl</a></td></tr><tr><td><h4>OOP session 2</h4></td><td>Inheritance</td><td><a href="/files/xqvMSqsM6M0X9kBQX6hQ">/files/xqvMSqsM6M0X9kBQX6hQ</a></td><td><a href="/pages/gdA505kFJy1TB8xAlplb">/pages/gdA505kFJy1TB8xAlplb</a></td></tr><tr><td><h4>OOP session 3</h4></td><td>object reference type</td><td><a href="/files/8HmN6aJ1kuuyTXsJJH3J">/files/8HmN6aJ1kuuyTXsJJH3J</a></td><td><a href="/pages/RD3zVaNYZdyLDKXAyqQO">/pages/RD3zVaNYZdyLDKXAyqQO</a></td></tr><tr><td><h4>OOP session 4</h4></td><td>Polymorphism, array of objects</td><td><a href="/files/vEDRcyaNe2ycsknfSJet">/files/vEDRcyaNe2ycsknfSJet</a></td><td><a href="/pages/wBLOTQEkveq6PjtH0m8h">/pages/wBLOTQEkveq6PjtH0m8h</a></td></tr></tbody></table>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://upskilling.stacs.scot/ah-oop-concepts/ah-oop-concepts.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
