Please solve the programming task below using a self-contained code snippet in a markdown code block.

Given two integers num1 and num2, return the sum of the two integers.
 
Please complete the following python code precisely:
```python
class Solution:
    def sum(self, num1: int, num2: int) -> int:
```