Swift StaticFunction vs Java StaticFunction , is identifier needed in function declaration?

后端 未结 0 1145
被撕碎了的回忆
被撕碎了的回忆 2021-02-15 20:44

JAVA public Static int myFunction(int n){ ... }

SWIFT

import UIKit

var str = "Hello, playground" print(str)

/** * *

Static func (n:I

相关标签:
回答
  • 消灭零回复
提交回复
热议问题