new()和new[]的区别

new()是构建一个class

new[9]是创建一个动态数组

posted @ 2019-10-24 10:00  hfy_sh  阅读(329)  评论(0编辑  收藏  举报