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.
点赞 评论

相关推荐

12-01 14:24
吉首大学 Java
点赞 评论 收藏
分享
牛客网
牛客网在线编程
牛客网题解
牛客企业服务