The ':Int' indicates the return type. 4. fun square(num: Int):Int {. 5. return num * num. 6. } return type in kotlin function. kotlin by S.A on Mar 18 2020 ...
確定! 回上一頁