热门

最新

红包

立Flag

投票

同城

我的

发布
weixin_48502062
福大大架构师每日一题
3 年前
trueweixin_48502062

2022-07-26:以下go语言代码输出什么?A:5;B:hello;C:编译错误;D:运行错误。
package main

import (
"fmt"
)

type integer int

func (i integer) String() string {
return "hello"
}

func main() {
fmt.Println(integer(5))
}

保持热爱共赴山海
CSDN App 扫码分享
分享
评论
1
打赏
  • 复制链接
  • 举报
下一条:
UAC HID测试
立即登录