Chapter 9. Object Technology
Oracle8 ushered us into the brave new world of object-oriented programming. . .almost. Since Oracle is, after all, a relational database, much of the object technology introduced in the Oracle8 (as well as the Oracle8i) release is a hybrid between true object data and relational data. The CREATE TYPE command, for example, looks suspiciously like a familiar record or table, with the exception that you can now include methods (procedures and functions) that act on the object’s attributes (columns and fields). This chapter tests your understanding of object types and your ability to apply object-oriented principles when designing a data structure.
Beginner
9-1. | True or false? An object type:
|
9-2. | True or false? An object type can serve as the datatype of:
|
9-3. | A constructor is a special method that creates an instance of an object from an object type. True or false? A constructor:
|
Get Oracle PL/SQL Programming: A Developer's Workbook now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.