What are the four main principles of object-oriented programming?
Use the supplied relational data to return the four principles and their examples. The result should include one row per core principle and preserve the standard instructional order.
principle_name, definition, and examples| Column | Type | Description |
|---|---|---|
| principle_idPK | INT | Unique principle identifier |
| principle_name | VARCHAR(100) | Name of the object-oriented programming concept |
| definition | TEXT | Concise definition of the concept |
| is_core | BOOLEAN | Whether the concept is one of the four requested principles |
| display_order | INT | Conventional instructional order |
| Column | Type | Description |
|---|---|---|
| example_idPK | INT | Unique example identifier |
| principle_id | INT | Referenced object-oriented principle |
| example_text | VARCHAR(255) | Illustrative example of the principle |