Question
Which of the following is true to implement the Buy/Sell Transactions and Stocks classes and the association between them in the preceding UML class diagram
Which of the following is true to implement the Buy/Sell Transactions and Stocks classes and the association between them in the preceding UML class diagram in a database?
1-The primary key of Stocks is a foreign key in Buy/Sell Transactions.
2-The primary key of Buy/Sell Transactions is a foreign key in Stocks.
3-The association between Stocks and Buy/Sell Transactions is implemented as a linking table.
4-Both "The primary key of Stocks is a foreign key in Buy/Sell Transactions" and "The primary key of Buy/Sell Transactions is a foreign key in Stocks" are true.
5-None of these is true.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started