PortfolioManagerImpl.java has only one constructor that too is protected and hence it is not possible to make an object of
PortfolioManager interface required in the
mainCalculateReturnsAfterRefactor function in
PortfolioManagerApplication.java. Please help!
Another question which popped up my mind was what is the use of keeping the class
PortfolioManagerImpl public if the only constructor it has is protected?