UKG Interview Question

Given a partially complete Java class to manage a stock portfolio, compelte the missing functions