Agregador de investimentos - Playlist do Canal Build & Run
classDiagram
class Investment {
+String name
+float value
+String type
+getValue()
+setValue(float value)
}
class Portfolio {
+String owner
+List~Investment~ investments
+addInvestment(Investment investment)
+removeInvestment(Investment investment)
+getTotalValue()
}
Portfolio --> Investment