UML Class diagram confusion - Software Engineering Stack Exchange

UML Class diagram confusion - Software Engineering Stack Exchange