Have any ideas on this Relate the concept of objects in a cl
Have any ideas on this?
Relate the concept of objects in a class diagram to the concept of tables in a database.
Discuss tables, rows, and records specifically.
Explain how the objects in a class diagram relate to objects in a table.
Thanks,
Shawna
Solution
Database table is the collection of the records and fields that contain data. Each table in the database holds data on one subject.
A row in the database represent single entity or record for the particular table.
Records are the rows that are present in the database.A record contains all the data corresponding to the fields present in the database.
Objects that are represented in the class diagram are related to objects in table as in ntable we can create objects as per the class diagram representation.An example is shown as follows:
CREATE TYPE person AS OBJECT (
id NUMBER,
name VARCHAR2(10)
email VARCHAR2(25),
phone VARCHAR2(10);
