首页 > 试题广场 >

以下字符串连接,哪些是正确的()

[不定项选择题]

以下字符串连接,哪些是正确的()

  • str := ‘hello’ + ‘world’ 

  • fmt.Sprintf(“%s+%s”, “hello”, “world”) 

  • str := “hello” + “world” 

  • A. fmt.Sprintf(“%s%s”, “hello”, “world”)

A的那个是单引号吗
发表于 2020-06-09 22:35:15 回复(0)