Problem:
Question 1: Design a class named StockTransaction that holds a stock symbol (typically one to four characters), stock name, and price per share. Include methods to set and get values for each data field. Create a class diagram and write the pseudocode that defines the class.
Question 2: Design an application that declares two StockTransaction objects and sets and displays their values.
Question 3: Design an application that declares an array of 10 StockTransactions. Prompt the user for data for each of the objects, and then display all of the values.
PLease show the coding with comments to explain.