Functions can also return values and have a non-Unit return type. Below, the feedTheCats function has no parameters and returns nothing (Unit), randomDay ...
確定! 回上一頁