name = $name; $this->a = $a; $this->b = $b; } function sum(): int { return $this->a + $this->b; } }