When deriving a struct from a class/struct, the default access-specifier is public. While when deriving a class, the default acess-specifier is private.
点赞 评论

相关推荐

牛客网
牛客网在线编程
牛客网题解
牛客企业服务